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.
Metrics
Affected Vendors & Products
References
History
Fri, 27 Nov 2026 00:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
Thu, 26 Nov 2026 13:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Time-of-check Time-of-use (TOCTOU) Race Condition leading to privilege escalation in GNU screen | |
| First Time appeared |
Gnu
Gnu screen |
|
| Weaknesses | CWE-367 | |
| CPEs | cpe:2.3:a:gnu:screen:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Gnu
Gnu screen |
|
| References |
|
|
| Metrics |
cvssV4_0
|
Status: PUBLISHED
Assigner: CERT-PL
Published: 2026-11-26T13:22:26.641Z
Updated: 2026-11-26T13:22:26.641Z
Reserved: 2026-08-06T12:43:52.381Z
Link: CVE-2026-71411
No data.
Status : Received
Published: 2026-11-26T14:17:37.383
Modified: 2026-11-26T14:17:37.383
Link: CVE-2026-71411