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.
History

Fri, 27 Nov 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


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

{'score': 5.5, 'vector': '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-icon MITRE

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

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-26T14:17:37.383

Modified: 2026-11-26T14:17:37.383

Link: CVE-2026-71411

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-11-26T13:22:26Z

Links: CVE-2026-71411 - Bugzilla