CVE-2026-71411GNU Screen Time-of-check Time-of-use (TOCTOU) Race Condition
NVD
Vulnerability Summary
GNU Screen is vulnerable to a Time-of-Check/Time-of-Use (TOCTOU) race condition in the hardcopy file handler. Due to checking write permissions using the real user ID and subsequently opening the file using the effective user ID, a local unprivileged attacker can atomically replace the target path with a symbolic link pointing to an arbitrary system file. Successfully exploiting this race condition allows the attacker to write to arbitrary files with root privileges, leading to local privilege escalation
This issue was fixed in version 5.0.2.
This issue was fixed in version 5.0.2.
CVSS v4.0 Base Metrics — Score 5.5 (MEDIUM)
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:HAttack VectorLocal
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)High
Integrity (Subsequent System)High
Availability (Subsequent System)High
Affected & Patched Versions
- GNU Screen < 5.0.2
- GNU Screen 5.0.2
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run GNU Screen and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 26, 2026Published
- Nov 26, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new GNU Screen CVEsYou are reading CVE-2026-71411. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://cert.pl/en/posts/2026/11/CVE-2026-71409
- Referencehttps://savannah.gnu.org/git/?group=screen
- Patchhttps://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=3dea5ff20c58ad497062d094b6a9b80a7535a7db
- Patchhttps://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f99a55537a78d596
Data last checked: Nov 27, 2026 12:30 UTC