CVE Watchtower

CVE-2026-71409GNU Screen Classic Buffer Overflow

NVD

Vulnerability Summary

GNU screen is vulnerable to a global buffer overflow in the SendCmdMessage() function within attacher.c. Due to the use of an unchecked sprintf() call when appending the STY environment variable to the global SocketPath buffer. The vulnerability occurs when GNU screen is executed in an environment where the HOME and STY environment variables contain attacker-controlled values that are sufficiently long. Successful exploitation may result in an application crash or potentially arbitrary code execution.


This issue was fixed in version 5.0.2.
Severity Level
MEDIUM(4.6)
Published Date
Nov 26, 2026
Last Modified
Nov 26, 2026
Exploitation Status
No confirmed exploitation yet
Root Weakness (CWE)
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
CVSS v4.0 Base Metrics — Score 4.6 (MEDIUM)
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:L/SI:L/SA:L
Attack VectorLocal
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionActive
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)Low
Integrity (Subsequent System)Low
Availability (Subsequent System)Low

Affected & Patched Versions

Affected Versions
  • GNU Screen < 5.0.2
Patched Versions
  • GNU Screen 5.0.2

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run GNU Screen and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 26, 2026Published
  • Nov 26, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new GNU Screen CVEsYou are reading CVE-2026-71409. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 27, 2026 14:13 UTC