CVE-2026-121757
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-121757 NameCVE-2026-121757 DescriptionConverting 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…
CVE-2026-121757
| Name | CVE-2026-121757 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1154284 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| glibc (PTS) | bookworm | 2.36-9+deb12u14 | vulnerable |
| bookworm (security) | 2.36-9+deb12u7 | vulnerable | |
| trixie | 2.41-12+deb13u5 | vulnerable | |
| forky, sid | 2.43-7 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| glibc | source | (unstable) | (unfixed) | 1154284 |
Notes
[trixie] - glibc <no-dsa> (Minor issue)
https://www.openwall.com/lists/oss-security/2026/11/17/32
https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0029
Introduced with: https://sourceware.org/git/?p=glibc.git;a=commit;h=918b9d72a9980efd4622bd25506da9531a952dbe
Apply commands
[trixie] - glibc <no-dsa> (Minor issue)https://www.openwall.com/lists/oss-security/2026/11/17/32https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0029Introduced with: https://sourceware.org/git/?p=glibc.git;a=commit;h=918b9d72a9980efd4622bd25506da9531a952dbe
OS impact
Azure Linux Affected 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 3.0 | — | Affected | — |
Debian Affected 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | glibc |
Affected | — |
| sid | glibc |
Affected | — |
| forky | glibc |
Affected | — |
| bookworm | glibc |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gnu_c_library | glibc | 2.1 | |
References
- https://sourceware.org/bugzilla/show_bug.cgi?id=35016
- https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0029
- https://security-tracker.debian.org/tracker/CVE-2026-121757
- https://www.suse.com/security/cve/CVE-2026-121757.html
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-121757
CWEs
CWE-126
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.