What’s Vulnerable › Vulnerabilities
CVE-2025-23395: Local root exploit via `logfile_reopen()` in screen 5.0.0 with setuid-root bit set
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-26 · updated 2026-06-17
- Weakness: CWE-271
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
References
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2025-23395
- https://www.openwall.com/lists/oss-security/2025/05/12/1
- https://www.openwall.com/lists/oss-security/2025/05/12/1
Get alerted when CVE-2025-23395 or the next vulnerability affects your stack