Race condition in GNU Screen lets local users escalate privileges
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
GNU Screen before 5.0.2 contains a time-of-check time-of-use race condition (CWE-367) in its hardcopy file handler. The handler checks write permissions with the real user ID but opens the file with the effective user ID, so a local unprivileged user can swap the target path for a symbolic link to an arbitrary system file. This lets the attacker write to arbitrary files with root privileges, leading to local privilege escalation.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade GNU Screen to version 5.0.2. Red Hat lists no fix planned for Red Hat Enterprise Linux 6 and no fix available for Red Hat Enterprise Linux 7.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- Fix · CNA Screen (GNU) Fixed in 5.0.2
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
GNU Screen 5.0.2
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2026-98804 Buffer overflow in GNU Screen can crash it or run codePriority LOW 21
- TI-2026-98805 Use-after-free in GNU Screen combining character handlingPriority LOW 11
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
Timeline
- 2026-11-26 Threatist record created from CVE-2026-71411
- 2026-11-27 Alias added: GHSA-666m-4q36-cx8m
- 2026-11-27 Affected versions changed · Red Hat
- 2026-11-27 CVSS score added · Red Hat
References
Patch 2
More GNU vulnerabilities
- TI-2026-19388 Authentication bypass in GNU Inetutils telnetd via USER variable KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05975 GNU Bash environment variable parsing flaw lets attackers write files KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05157 Code execution in GNU Bash through crafted environment variables KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05164 Command injection in GNU Bash via crafted environment variables KEVCVSS 3.1HIGH 8.8
- TI-2023-04522 Buffer overflow in glibc ld.so allows privilege escalation KEVCVSS 3.1HIGH 7.8
- TI-2009-03392 The TLS protocol, and the SSL protocol 3.0 and possibly earlier, as used in Microsoft… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-71411 · CVE Program
- CVE-2026-71411 · NVD
- FIRST EPSS
- GHSA-666m-4q36-cx8m · GitHub Advisory Database · CC BY 4.0
- CVE-2026-71411 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences