CVE-2026-71410GNU Screen Use After Free
NVD
Vulnerability Summary
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.
This issue was fixed in version 5.0.2.
CVSS v4.0 Base Metrics — Score 2.1 (LOW)
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:L/SI:L/SA:LAttack VectorLocal
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)Low
Integrity (Subsequent System)Low
Availability (Subsequent System)Low
Affected & Patched Versions
- GNU Screen < 5.0.2
- GNU Screen 5.0.2
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run GNU Screen and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 26, 2026Published
- Nov 26, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new GNU Screen CVEsYou are reading CVE-2026-71410. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://cert.pl/en/posts/2026/11/CVE-2026-71409
- Referencehttps://savannah.gnu.org/git/?group=screen
- Patchhttps://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=3dea5ff20c58ad497062d094b6a9b80a7535a7db
- Patchhttps://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f99a55537a78d596
Data last checked: Nov 27, 2026 13:13 UTC