CVE-2026-71410
Use-After-Free in GNU Screen
Low · 2.1Fix available
- CVSS
- 2.1
- EPSS
- 0.24% (p9)
- Published
- 2026-11-26
- Age
- 2d old
- Modified
- 2026-11-26
- Product
- GNU Screen
- Aliases
- EUVD-2026-136482
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:L/SI:L/SA:L
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.
Fixed in
5.0.2
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Screen | >=0, <5.0.2 | 5.0.2 |
Sources
- NVD · first seen 2d ago · NVD terms of use
- ENISA EUVD · first seen 2d ago · ENISA
- CVE List · first seen 2d ago · CVE Terms of Use
References
- https://cert.pl/en/posts/2026/11/CVE-2026-71409 third-party-advisory
- https://savannah.gnu.org/git/?group=screen product
- https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=3dea5ff20c58ad497062d094b6a9b80a7535a7db patch
- https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f99a55537a78d596 patch
- https://nvd.nist.gov/vuln/detail/CVE-2026-71410 other