Skip to content
DayZeroHub
Medium Not yet writtenCVSS 5.5CVE-2026-71411

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

GNU Screen

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-71411: medium-severity vulnerability (CVSS 5.5) in GNU Screen.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 5.5.

Affected products and versions

GNU Screen < 5.0.2

ProductVersionsFixed in
GNU Screen< 5.0.2—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-367

Relevant change history

  1. Published

    Preliminary advisory published.