Use-After-Free Vulnerability in GNU Screen by GNU
CVE-2026-71410
What is CVE-2026-71410?
GNU Screen is susceptible to a Use-After-Free vulnerability in the utf8_handle_comb() function located in encoding.c. This arises from inadequate error handling during memory allocation failures, causing the global combchars pointer to be freed without being set to NULL. When a new combining Unicode character is received by the terminal, the function may erroneously dereference this freed pointer. An attacker who can manipulate terminal content—via a compromised SSH server or malicious escape sequences—could exploit this flaw to perform heap grooming, potentially leading to arbitrary code execution. It is recommended to update to version 5.0.2 or later to mitigate this vulnerability.
Affected Version(s)
Screen 0 < 5.0.2
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved