Vulnerability 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.
Related Weaknesses (CWE)
References
- https://cert.pl/en/posts/2026/11/CVE-2026-71409
- https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481
- https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=3dea5ff
- https://savannah.gnu.org/git/?group=screen
FAQ
What is CVE-2026-71410?
CVE-2026-71410 is a documented vulnerability. 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 bu...
How severe is CVE-2026-71410?
CVSS scoring is not yet available for CVE-2026-71410. Check NVD for updates.
Is there a patch for CVE-2026-71410?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.