Read the docs

Use-after-free in GNU Screen combining character handling

Priority LOW 11CWE-416Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.

Summary

GNU Screen before 5.0.2 contains a use-after-free flaw (CWE-416) in utf8_handle_comb() in encoding.c. After a memory allocation failure, the global combchars pointer is freed but not reset to NULL, so a later combining Unicode character makes the function use freed memory. An attacker who controls terminal content sent to a screen session, such as through a rogue SSH server or crafted escape sequences, can achieve arbitrary code execution.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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.

Why it matters now

EPSS 0.00237 8th percentileScored 2026-11-30
Fix Partial Screen (GNU): 5.0.2Red Hat: 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
GNUScreenbefore 5.0.25.0.2Patch availableCNA
  • Screen VendorGNU Affected before 5.0.2 Fixed in 5.0.2 Patch available CNA

Remediation

Upgrade GNU Screen to version 5.0.2. Red Hat lists no fix planned for Red Hat Enterprise Linux 6 and no fix available for Red Hat Enterprise Linux 7.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

  • Fix · CNA Screen (GNU) Fixed in 5.0.2

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    GNU Screen 5.0.2

    3 records Highest priority Priority LOW 3 LOW

    Other records, highest priority first

    • TI-2026-98806 Race condition in GNU Screen lets local users escalate privilegesPriority LOW 24
    • TI-2026-98804 Buffer overflow in GNU Screen can crash it or run codePriority LOW 21

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix yet

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-71410
  2. 2026-11-27 Alias added: GHSA-7f26-m8hc-2xj9
  3. 2026-11-27 Affected versions changed · Red Hat
  4. 2026-11-27 CVSS score added · Red Hat

References

  • TI-2026-19388 Authentication bypass in GNU Inetutils telnetd via USER variable KEVCVSS 3.1CRITICAL 9.8
  • TI-2014-05975 GNU Bash environment variable parsing flaw lets attackers write files KEVCVSS 3.1CRITICAL 9.8
  • TI-2014-05157 Code execution in GNU Bash through crafted environment variables KEVCVSS 3.1CRITICAL 9.8
  • TI-2014-05164 Command injection in GNU Bash via crafted environment variables KEVCVSS 3.1HIGH 8.8
  • TI-2023-04522 Buffer overflow in glibc ld.so allows privilege escalation KEVCVSS 3.1HIGH 7.8
  • TI-2009-03392 The TLS protocol, and the SSL protocol 3.0 and possibly earlier, as used in Microsoft… CVSS 3.1CRITICAL 9.8
See all 1287 →

Sources