Time-of-Check/Time-of-Use Race Condition in GNU Screen by GNU
CVE-2026-71411

5.5MEDIUM

Key Information:

Vendor

Gnu

Status
Vendor
CVE Published:
26 November 2026

What is CVE-2026-71411?

GNU Screen is impacted by a Time-of-Check/Time-of-Use (TOCTOU) race condition affecting the hardcopy file handler. This vulnerability arises from the improper handling of file permissions, where write permissions are initially checked using the real user ID, but the file is then opened with the effective user ID. This flaw allows local unprivileged attackers to exploit a race condition by replacing the target file path with a symbolic link, potentially directing operations to arbitrary system files. If successfully exploited, this could grant the attacker the ability to write to sensitive files with elevated privileges, effectively leading to local privilege escalation.

Affected Version(s)

Screen 0 < 5.0.2

References

CVSS V4

Score:
5.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Michał Majchrowicz (AFINE Team)
Marcin Wyczechowski (AFINE Team)
.