CVE-2026-121758

ISO-2022-CN-EXT decoder may read past input

Published Nov 17, 2026 CVSS 3.1 · 5.9 Medium EPSS n/a KEV · Not listed
Description
Converting crafted ISO-2022-CN-EXT input to UTF-8 character encoding, in the GNU C Library version 2.2 through 2.44 may result in the converter reading past the end of the input buffer, causing the calling application to crash.

When the ISO-2022-CN-EXT decoder encounters an invalid input byte sequence like '\x0e' it ends up advancing the pointer tracking the read buffer position twice. If this sequence is at the end of the input buffer, the decoder may then end up reading past the bounds of the input buffer. To exploit this, the input and encoding needs to be attacker controlled.

Analysis

AI-generated

Technical impact

The vulnerability involves the ISO‑2022‑CN‑EXT decoder of the GNU C Library. When processing certain crafted byte sequences, notably the invalid sequence '\x0e', the decoder increments its read pointer twice. If this sequence occurs at the very end of the input buffer, the decoder may read beyond the buffer bounds, corrupting memory and causing the application that invoked the conversion to crash. This translates into a denial of service attack surface, as the crash can be triggered repeatedly with crafted input. The weakness is a classic Buffer Overread, matching CWE‑126.

Affected Systems

The issue exists in GNU C Library releases 2.2 through 2.44. Any application that relies on glibc for converting ISO‑2022‑CN‑EXT encoded data to UTF‑8 is affected, regardless of the vendor-specific product that bundles glibc. No specific vendor products beyond glibc are listed, and version details are limited to the defined range.

Risk and Exploitability

The CVSS score of 5.9 indicates medium severity, reflecting a crash but no direct code execution or data exfiltration. The EPSS score is not reported, so current exploit probability cannot be quantified. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires the attacker to supply controlled input to a glibc‑based conversion call, which could be achieved via network interfaces, file uploads, or other input vectors used by the application. As no additional prerequisites or elevated privileges are noted, the likely attack vector is remote if the application accepts external data, else local if the attacker can supply input to a privileged process. Use of the decoder with attacker‑controlled data is the explicit pathway to trigger the failure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the GNU C Library to a version beyond 2.44 that incorporates the fix referenced in the glibc advisory
  • If an upgrade is infeasible, avoid using the ISO‑2022‑CN‑EXT decoding path in the application, replacing it with a safer encoding routine or disabling the feature
  • Sanitize and validate all input before passing it to glibc’s conversion functions, ensuring no trailing invalid byte sequences such as '\x0e' are included

Generated by OpenCVE AI on November 18, 2026 at 01:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared The Gnu C Library
The Gnu C Library glibc
Vendors & Products The Gnu C Library
The Gnu C Library glibc
Type Values Removed Values Added
Description Converting crafted ISO-2022-CN-EXT input to UTF-8 character encoding, in the GNU C Library version 2.2 through 2.44 may result in the converter reading past the end of the input buffer, causing the calling application to crash. When the ISO-2022-CN-EXT decoder encounters an invalid input byte sequence like '\x0e' it ends up advancing the pointer tracking the read buffer position twice. If this sequence is at the end of the input buffer, the decoder may then end up reading past the bounds of the input buffer. To exploit this, the input and encoding needs to be attacker controlled.
Title ISO-2022-CN-EXT decoder may read past input
Weaknesses CWE-126
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
glibc
Published
Updated
Nov 17, 2026, 10:26 PM
Reserved
Nov 4, 2026, 12:07 AM
Status
Received
Published
Nov 17, 2026, 11:17 PM
Modified
Nov 17, 2026, 11:17 PM