CVE-2026-71411
5.5medium
Time-of-check Time-of-use (TOCTOU) Race Condition leading to privilege escalation in GNU screen
- Severity
- 5.5medium CVSS:4.0 by CERT-PL
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- CERT-PL
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GNU Screen | before 5.0.2 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-71411 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-71411 changed 2026-12-01 | Public domain |