CVE-2026-71411
MEDIUM 5.5CVSS 4.0Time-of-check Time-of-use (TOCTOU) Race Condition leading to privilege escalation in GNU screen
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.
- Published
- 26 Nov 2026
- Last modified
- 2 Dec 2026
- Assigned by
- cvd@cert.pl
- NVD status
- Deferred
- Weakness
- CWE-367
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cvd@cert.pl (Secondary) | CVSS 4.0 | MEDIUM 5.5 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/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 |
| CVE List | CERT-PL | CVSS 4.0 | MEDIUM 5.5 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | GNU | Screen | < 5.0.2 | 5.0.2 |
References
- https://cert.pl/en/posts/2026/11/CVE-2026-71409 · third-party-advisory
- https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f99a55537a78d596 · patch
- https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=3dea5ff20c58ad497062d094b6a9b80a7535a7db · patch
- https://savannah.gnu.org/git/?group=screen · product
History
- 2 Dec 2026 21:25 UTC · NVD: status Received → Deferred
- 1 Dec 2026 17:18 UTC · NVD: updated (other details)
- 1 Dec 2026 17:09 UTC · CVE List: updated (other details)
- 26 Nov 2026 16:16 UTC · NVD: first stored (published 26 Nov 2026)
- 26 Nov 2026 14:04 UTC · CVE List: first stored (published 26 Nov 2026)