Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-121757 EUVD-2026-128301GHSA-2v8f-vf2j-8gc4

CP949 decoder may read past input

Published Nov 17, 2026 · Assigned by glibc

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.

Affected products

VendorProductAffectedFixed
The GNU C Library glibc 2.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glibc No fix yet —
Debian 13 glibc No fix yet —
Debian 12 glibc No fix yet —

Advisories 1

References