{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-23395","id":"CVE-2025-23395","title":"Local root exploit via `logfile_reopen()` in screen 5.0.0 with setuid-root bit set","description":"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","descriptionLong":"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","published":"2025-05-26T15:18:46.694Z","updated":"2026-10-31T18:11:58.066002924Z","reserved":"2025-01-15T12:39:03.324Z","status":"Deferred","rejected":false,"assigner":"suse","metric":{"version":"4.0","score":7.3,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"suse"},"metrics":[{"version":"4.0","score":7.3,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"suse"},{"version":"4.0","score":7.3,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"suse.de"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"suse"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"suse.de"}],"rating":"high","products":["screen"],"affectedProducts":[{"vendor":"","product":"screen","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"5.0.0","status":"affected","version":"5.0","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-271"],"aliases":[],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=CVE-2025-23395","tags":["report"]},{"url":"https://www.openwall.com/lists/oss-security/2025/05/12/1","tags":["exploit","web"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00303,"epssPercentile":0.23689,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-23395","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23395","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-23395","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-23395","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}