GNU Screen <5.0.2 Use-After-Free in utf8_handle_comb (encoding.c)
CVE-2026-71410 Published on November 26, 2026

Use-After-Free in GNU Screen
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.

NVD

Vulnerability Analysis

CVE-2026-71410 is exploitable with local system access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.

Exploitation:
NONE
Automatable:
NO
Technical Impact:
PARTIAL
Attack Vector:
LOCAL
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE

Weakness Type

What is a Dangling pointer Vulnerability?

Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.

CVE-2026-71410 has been classified to as a Dangling pointer vulnerability or weakness.


Products Associated with CVE-2026-71410

Want to know whenever a new CVE is published for GNU Screen? stack.watch will email you.

Affected Versions

GNU Screen:

Exploit Probability

EPSS
0.24%
Percentile
15.70%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.