AZL-116332: CVE-2026-71411 affecting package screen 4.9.1-1
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
screento a version that resolves this vulnerability.Fixed in 5.0.2
Event History
Frequently Asked Questions
Who can exploit this issue?
A local unprivileged attacker can exploit the race condition. Exploitation requires the attacker to be able to atomically replace the target path with a symbolic link during hardcopy file handling.
What is the impact of successful exploitation?
Successful exploitation lets the attacker write to arbitrary system files with root privileges. This can result in local privilege escalation.
Which version contains the fix?
The issue was fixed in GNU Screen version 5.0.2.