freenode

← CVE tracker

CVE-2026-71411

Time-of-check Time-of-use (TOCTOU) Race Condition leading to privilege escalation in GNU screen

Severity
medium CVSS 5.5 (v4.0)
Affects
Screen · GNU
Weakness
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Published
26 November 2026 by CERT-PL
First seen on our lists
27 November 2026
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.

On the lists