Bug 2584982 (CVE-2026-71411)

Summary: CVE-2026-71411 screen: Time-of-check Time-of-use (TOCTOU) race condition in the hardcopy file handler
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in GNU screen. A time-of-check time-of-use (TOCTOU) race condition can occur in the hardcopy file handler because write permissions are checked using the real user ID while the file is subsequently opened using the effective user ID. A local unprivileged attacker can exploit this issue by atomically replacing the target path with a symbolic link pointing to an arbitrary system file. This vulnerability may allow the attacker to write to arbitrary files with elevated privileges, leading to local privilege escalation.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2585185, 2585186    
Bug Blocks:    

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.