Bug 2585185 - CVE-2026-71411 screen: Time-of-check Time-of-use (TOCTOU) race condition in the hardcopy file handler [epel-all]
Summary: CVE-2026-71411 screen: Time-of-check Time-of-use (TOCTOU) race condition in t...
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: screen
Version: epel10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Josef Ridky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["b685f602-62ef-471a-bc4a-a...
Depends On:
Blocks: CVE-2026-71411
TreeView+ depends on / blocked
 
Reported: 2026-11-26 16:54 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-11-26 16:54 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2026-11-26 16:54:46 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.