{"id":"CVE-2025-23395","published":"2025-05-26T15:18:46Z","modified":"2025-05-27T14:10:29Z","title":"Local root exploit via `logfile_reopen()` in screen 5.0.0 with setuid-root bit set","vendor":null,"product":null,"tier":"tail","description":{"text":"Screen 5.0.0 when it runs with setuid-root privileges does not drop privileges while operating on a user supplied path. This allows unprivileged users to create files in arbitrary locations with `root` ownership, the invoking user's (real) group ownership and file mode 0644. All data written to the Screen PTY will be logged into this file, allowing to escalate to root privileges","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00238,"percentile":0.08951,"provenance":"source"},"cwes":[{"id":"CWE-271","name":"Privilege Dropping / Lowering Errors"}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=CVE-2025-23395","tags":[]},{"url":"https://www.openwall.com/lists/oss-security/2025/05/12/1","tags":[]}],"priority":{"score":7.3,"factors":[{"name":"EPSS percentile","points":1.79},{"name":"CVSS severity","points":5.46}]},"affectedVersions":[{"vendor":null,"product":null,"versions":[">= 5.0, <= 5.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-05-27T14:10:26.175851Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-27711","exploited":false,"provenance":"source"}}