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.
Metrics
Affected Vendors & Products
References
History
Fri, 27 Nov 2026 00:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
Thu, 26 Nov 2026 13:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Use-After-Free in GNU Screen | |
| First Time appeared |
Gnu
Gnu screen |
|
| Weaknesses | CWE-416 | |
| CPEs | cpe:2.3:a:gnu:screen:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Gnu
Gnu screen |
|
| References |
|
|
| Metrics |
cvssV4_0
|
Status: PUBLISHED
Assigner: CERT-PL
Published: 2026-11-26T13:22:24.882Z
Updated: 2026-11-26T13:22:24.882Z
Reserved: 2026-08-06T12:43:52.381Z
Link: CVE-2026-71410
No data.
Status : Received
Published: 2026-11-26T14:17:37.230
Modified: 2026-11-26T14:17:37.230
Link: CVE-2026-71410