Bug 2584982 (CVE-2026-71411) - CVE-2026-71411 screen: Time-of-check Time-of-use (TOCTOU) race condition in the hardcopy file handler
Summary: CVE-2026-71411 screen: Time-of-check Time-of-use (TOCTOU) race condition in t...
Keywords:
Status: NEW
Alias: CVE-2026-71411
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2585185 2585186
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-26 13:31 UTC by OSIDB Bzimport
Modified: 2026-11-26 16:55 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-26 13:31:37 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.