← VULNERABILITIES

CVE-2026-121757

CP949 decoder may read past input

Medium · 5.9Fix available
CVSS
5.9
EPSS
0.40% (p36)
Published
2026-11-17
Age
19d old
Modified
2026-12-03
Product
The GNU C Library glibc

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Fixed in

* · 0

Affected packages

EcosystemPackageRangeFixed
vendorglibc>=2.1, <**
vendorglibc>=2.1, <00

Sources

  • NVD · first seen 19d ago · NVD terms of use
  • OSV · first seen 19d ago · CC-BY 4.0
  • CVE List · first seen 19d ago · CVE Terms of Use

References

JSON