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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-26 · Modified: 2026-12-01
- Aliases: DEBIAN-CVE-2026-71411, UBUNTU-CVE-2026-71411
- Record: https://cvemate.com/vulnerability/CVE-2026-71411 · JSON: https://cvemate.com/vulnerability/CVE-2026-71411/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
- EPSS: 0.208%, percentile 11.494%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian screen (Debian): All versions (No fix recorded) \| \< 5.0.2-1
- ubuntu screen (Ubuntu): All versions (No fix recorded)
- gnu screen: \< 5.0.2

## References

- <https://cert.pl/en/posts/2026/11/CVE-2026-71409>
- <https://savannah.gnu.org/git/?group=screen>
- <https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=3dea5ff20c58ad497062d094b6a9b80a7535a7db>
- <https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f99a55537a78d596>
- <https://security-tracker.debian.org/tracker/CVE-2026-71411>
- <https://ubuntu.com/security/CVE-2026-71411>
- <https://www.cve.org/CVERecord?id=CVE-2026-71411>

---

Data as of 2026-12-05T03:00:24.188Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
