Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
2.1

CVE-2026-71410: Screen can let attacker run code via crafted terminal input

CVE-2026-71410 · published 4 days ago
Summary

The free‑software terminal multiplexer Screen has a bug that can cause it to use memory that has already been released. If an attacker can send specially crafted characters to a Screen session—such as through a malicious SSH server—they could cause the program to execute their own code. Upgrade Screen to version 5.0.2 or later to fix the problem.

What to do
  • Update bellsoft screen to version 5.0.3-r0.
  • Update debian screen to version 5.0.2-1.
  • Update gnu screen to version 5.0.2 or later.
Affected software
Ecosystem VendorProductAffected versions
Alpaquita:23 bellsoft screen >= 4.9.0-r0
Alpaquita:25 bellsoft screen >= 5.0.1-r0, < 5.0.3-r0
Fix: upgrade to 5.0.3-r0
Alpaquita:stream bellsoft screen >= 4.9.0-r1, < 5.0.3-r0
Fix: upgrade to 5.0.3-r0
– gnu screen < 5.0.2
Debian:12 debian screen All versions
Debian:14 debian screen < 5.0.2-1
Fix: upgrade to 5.0.2-1
Ubuntu:Pro:14.04:LTS canonical screen All versions
Original advisory text
BELL-CVE-2026-71410
GNU Screen is vulnerable to a Use-After-Free in the utf8_handle_comb() function in encoding.c. Due to improper error handling during memory allocation failure, the global combchars pointer is freed but not reset to NULL. When a subsequent combining Unicode character arrives at the terminal, the function dereferences the freed pointer. An attacker who controls terminal content sent to the screen session, such as via a rogue SSH server or crafted escape sequences, can exploit this vulnerability to perform heap grooming and achieve arbitrary code execution.



This issue was fixed in version 5.0.2.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
2.1 Low
Exploitation
<1% chance of attack within 30 days
Type
CWE-416Use After Free
Timeline
Published29 Nov 2026
Updated3 Dec 2026
First seen26 Nov 2026
Track software like this
Free during beta