CVE-2026-71410
JSON

2.1low

Use-After-Free in GNU Screen

Severity
2.1low CVSS:4.0 by CERT-PL
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CERT-PL

Description

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.

Affected

Product or packageVersionsReported by
GNU Screenbefore 5.0.2CVE List

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-71410 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-71410 changed 2026-12-01Public domain