CVE-2026-121757
CP949 decoder may read past input
- 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
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | glibc | >=2.1, <* | * |
| vendor | glibc | >=2.1, <0 | 0 |
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
- https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0029 vendor-advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=35016 issue-tracking
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121757.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-121757 advisory