CVE-2026-121757

CP949 decoder may read past input

Published Nov 17, 2026 CVSS 3.1 · 5.9 Medium EPSS n/a KEV · Not listed
Description
Converting crafted CP949 input to UTF-8 character encoding and ignoring invalid characters, in the GNU C Library version 2.1 or later may result in the converter reading past the end of the input buffer, causing the calling application to crash.

When the CP949 decoder encounters an invalid input byte sequence like '\xa2\xe8' it ends up advancing the pointer tracking the read buffer position twice. If //IGNORE is set on the destination encoding and 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 target iconv function needs to set //IGNORE on the destination of the conversion and the input and encoding needs to be attacker controlled.

Analysis

AI-generated

Technical impact

The vulnerability resides in the libiconv CP949 decoder within the GNU C Library (glibc). When an invalid CP949 byte sequence – for example, \xa2\xe8 – is processed while the conversion destination is configured with the //IGNORE option, the decoder mistakenly advances its read pointer twice. If the invalid sequence is at the end of the user‑supplied buffer, the routine reads beyond the buffer limits, causing a fault in the calling application. This is a classic buffer over‑read (CWE‑126) that results in a denial‑of‑service condition rather than arbitrary code execution.

Affected Systems

The vulnerability affects any system running glibc version 2.1 or newer that includes the affected libiconv implementation. Systems that use CP949→UTF‑8 conversion paths—such as internationalized input parsers, file name decoders, or user‑supplied data processing—built against an unpatched glibc release are at risk.

Risk and Exploitability

The CVSS score of 5.9 indicates medium severity. The EPSS score is not available, and the flaw is not catalogued in CISA’s KEV. Based on the description, the likely attack vector involves an attacker supplying crafted CP949 data to an application that performs iconv conversion with the //IGNORE option, which may be possible remotely if the application accepts external CP949 input. Successful exploitation leads only to application crashes, providing a denial‑of‑service that can impact service availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade glibc to a fixed release following the GLIBC-SA‑2026‑0029 advisory.
  • Rebuild and redeploy all binaries linked against glibc after the upgrade.
  • In the interim, avoid using the //IGNORE option on CP949 conversions or sanitize the input before conversion; disable CP949 handling in code paths that are externally exposed.

Generated by OpenCVE AI on November 18, 2026 at 02:23 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 CP949 input to UTF-8 character encoding and ignoring invalid characters, in the GNU C Library version 2.1 or later may result in the converter reading past the end of the input buffer, causing the calling application to crash. When the CP949 decoder encounters an invalid input byte sequence like '\xa2\xe8' it ends up advancing the pointer tracking the read buffer position twice. If //IGNORE is set on the destination encoding and 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 target iconv function needs to set //IGNORE on the destination of the conversion and the input and encoding needs to be attacker controlled.
Title CP949 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:23 PM
Reserved
Nov 4, 2026, 12:07 AM
Status
Received
Published
Nov 17, 2026, 11:17 PM
Modified
Nov 17, 2026, 11:17 PM