Time-of-check Time-of-use (TOCTOU) Affecting screen package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.21% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-SCREEN-23024715
  • published28 Nov 2026
  • disclosed26 Nov 2026

Introduced: 26 Nov 2026

NewCVE-2026-71411  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest screen.

NVD Description

Note: Versions mentioned in the description apply only to the upstream screen package and not the screen package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.