CP949 is Microsoft’s extension of the Korean EUC-KR encoding, and glibc converts from it through a gconv module like any other. The module mishandles an invalid pair: on “an invalid input byte sequence like ‘\xa2\xe8’ it ends up advancing the pointer tracking the read buffer position twice”, and when the caller has asked for invalid characters to be dropped, “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”. The outcome is a crash of the calling application. Two preconditions are stated: the conversion must use //IGNORE, and “the input and encoding needs to be attacker controlled”. The GNU C Library scores it 5.9. Take the glibc update when your distribution ships one; until then, do not combine //IGNORE with a source encoding an untrusted caller chose.
CVE-2026-121757 at a glance.
| Component | glibc, the CP949 (UHC) gconv module in the direction from CP949 to UCS-4, reached by iconv() and the iconv command when the destination carries the //IGNORE suffix |
| Affected versions | glibc 2.1 and later, per the CNA record and the project’s advisory GLIBC-SA-2026-0029; introduced by commit 918b9d72 in the 2.0.92 development series; the record states no upper bound |
| Fixed in | No fix is published on 1 December 2026: the project’s 17 November advisory names no fix commit, no glibc release carries one, and every distribution tracker read for this page lists the package as vulnerable with nothing fixed, Debian sid included |
| Severity | glibc (CNA) CVSS 3.1 5.9 Medium (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H), CWE-126 (buffer over-read); NVD Received with the CNA score. SUSE moderate (and a CVSS 4.0 8.2 of its own); Ubuntu Medium; Debian “Minor issue”, no DSA planned for trixie; Red Hat’s page unreachable on 1 December |
| Exploited in the wild | Not on CISA’s Known Exploited Vulnerabilities list as of 1 December 2026 (catalogue 2026.11.30). EPSS 0.00397 (36th percentile) on 1 December 2026 |
| Who is exposed | Linux processes built against glibc that convert from an attacker-chosen encoding with //IGNORE on the destination, so that bad bytes are skipped rather than reported: the “best effort” conversion mode that mail gateways, log collectors, web applications sanitising uploads and the iconv -c command all use. The impact is a crash of that process. A conversion without //IGNORE returns an error on the bad pair and is outside the described path. musl-based systems such as Alpine do not have this code |
| Published | glibc advisory and CVE record 17 November 2026; this page built 1 December 2026, last updated 1 December 2026 |
What it is
Decoding a double-byte encoding means reading a lead byte, deciding how many bytes follow it, checking that they are valid, and advancing the input pointer by the whole sequence. CP949 lead bytes such as 0xa2 introduce a two-byte character, and 0xa2 0xe8 is a pair the table does not define. The record says the CP949 decoder, on meeting such a pair, advances the input pointer twice: once as part of recognising the sequence and once again in the error path, the same shape of mistake as its sibling CVE-2026-121758 in the ISO-2022-CN-EXT decoder from the same advisory batch.
What turns a double advance into an over-read is where the pair sits and what the caller asked for. Without //IGNORE, iconv() stops at the invalid sequence and returns EILSEQ; the pointer is wrong but nothing reads past it. With //IGNORE, the converter is told to skip the bad input and continue, so it continues from the twice-advanced pointer, and if the pair was the last thing in the buffer that pointer is beyond its end. The next read is out of bounds by a byte or two: harmless, a read of unrelated memory, or a fault, depending on what lies beyond the buffer. That dependence, plus the need to control both the bytes and the encoding name, is the AC:H in the vector; the impact is availability only.
The //IGNORE precondition is the useful one for a defender, because it is a choice the application makes rather than something the attacker supplies: the suffix goes on the destination encoding string passed to iconv_open(), as in "UTF-8//IGNORE", and iconv -c on the command line is the same thing. The reporter is Dickson Wu of SEAL and CertiK. The project’s advisory, as carried in its announcement mail, names the vulnerable commit but no fix commit, and the advisory files and Bugzilla on sourceware refuse automated readers, so the upstream fix state cannot be read directly; this page says “no fix published” because no source read for it names one, and will be updated when one appears.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one. glibc is the C library of every row below except Alpine, which uses musl.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Alpine builds on musl, which has its own iconv and none of this code; not consulted for this page | — |
| Debian | glibc vulnerable in bookworm (2.36-9+deb12u14; bookworm-security 2.36-9+deb12u7), trixie (2.41-12+deb13u5, marked “no-dsa, Minor issue”), forky and sid (2.43-7); source “(unfixed)”; Debian bug 1154284 | nothing on 1 December 2026 |
| Ubuntu | Priority Medium; glibc “Needs evaluation” on 16.04 through 26.10; no USN | nothing on 1 December 2026 |
| RHEL, Rocky, Alma, CentOS Stream | Tracker unreachable on 1 December 2026 (client error on the page and on the hydra JSON, twice); nothing inferred | — |
| openSUSE/SLE | Rated moderate, state Pending; every listed product “Affected”, including SLES 16.0/16.1 and SLE Micro 6.x; no released package; SUSE bug 1290812 | nothing on 1 December 2026 |
| Arch, Fedora, Gentoo, self-built glibc | Not consulted for this page; the record’s “2.1 or later” covers every current build | nothing upstream on 1 December 2026 |
How to check
Three questions, in order: which glibc the host runs, whether anything converts with //IGNORE, and whether the source encoding on those conversions can come from outside. The second is the gate the record gives, and it is a search of your applications and scripts rather than of the library.
# 1. the C library and its version (musl hosts are not affected)
ldd --version | head -1
ls /lib/ld-musl-* 2>/dev/null && echo "musl: not affected"
dpkg -s libc6 2>/dev/null | grep '^Version'; rpm -q glibc 2>/dev/null
# 2. who converts with //IGNORE (or iconv -c, which is the same thing)
grep -rnE '//IGNORE|//TRANSLIT//IGNORE' --include='*.c' --include='*.cc' --include='*.cpp' --include='*.php' --include='*.py' --include='*.rb' --include='*.pl' /path/to/src /etc /usr/local 2>/dev/null | head
grep -rnE 'iconv +-c|iconv +.*-c ' /etc/cron* /usr/local/bin /opt/*/bin 2>/dev/null
grep -rn 'IGNORE' /etc/php/*/*/php.ini /etc/php.ini 2>/dev/null # php.ini: iconv.* settings
# 3. on those conversions, does the source encoding come from a header, a request or a file?
grep -rnE 'iconv_open\([^,]+,\s*[a-z_]+\)' --include='*.c' --include='*.cc' /path/to/src 2>/dev/null | head # a variable, not a literal, as the second argumentA musl host is done. On a glibc host nothing is fixed yet anywhere, so the check is about exposure: a process with no //IGNORE conversions (step 2 empty) is outside the record’s path whatever its glibc version, and so is one whose //IGNORE conversions always start from an encoding the program chose itself. The one to watch is a process that passes a caller-supplied charset as the source and UTF-8//IGNORE as the destination, which is the common “clean up whatever this is” idiom in mail and upload handling.
How to fix it
No package carries a fix on 1 December 2026. When one arrives, install it and restart every long-running process or reboot: the C library is mapped into every program, and a running process keeps the old copy until it restarts. needrestart on Debian and Ubuntu, or dnf needs-restarting on the RHEL family, lists what still holds the old library.
# nothing to install yet; these show when something arrives
apt list --upgradable 2>/dev/null | grep '^libc6/'
zypper list-patches --cve=CVE-2026-121757 2>/dev/null
dnf updateinfo info --cve CVE-2026-121757 2>/dev/null
# self-built: watch the glibc advisory file for a Fix-Commit line
# https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0029Until then the control is in the application, and the record hands it over: the over-read needs //IGNORE, so a conversion that validates instead of skipping is outside the path. Where the source encoding comes from an untrusted label, check it against an allow-list before iconv_open(), and where “best effort” conversion is wanted, convert without //IGNORE first and fall back to a fixed, program-chosen source encoding on EILSEQ. What not to do: do not switch every conversion to //TRANSLIT as if it were a safer spelling, because //TRANSLIT//IGNORE still carries the ignore flag; and do not remove the CP949 gconv module from the C library package, which leaves the package manager unable to verify or upgrade it cleanly.
# application-side allow-list before iconv_open(): reject source encodings you do not serve
case "$SOURCE_CHARSET" in
UTF-8|ISO-8859-1|ISO-8859-15|WINDOWS-1252|EUC-KR) ;;
*) echo "unsupported source charset $SOURCE_CHARSET" >&2; exit 1 ;;
esac
# and prefer strict conversion with a fallback over //IGNORE on an untrusted source:
# iconv -f "$SOURCE_CHARSET" -t UTF-8 in.txt || iconv -f ISO-8859-1 -t UTF-8 in.txtThat is the shape of the check, in whatever language the application is written; the point is that //IGNORE and an attacker-chosen source encoding should not meet in the same call.
Sources
- CVE-2026-121757 at CVE.org — the GNU C Library CNA record (17 November 2026): the description, “2.1 or later”, the
//IGNOREprecondition, CVSS 3.1 5.9, CWE-126, the advisory and bug references, the credit - glibc security advisories update for 2026-11-17 — the project’s announcement mail on oss-security: GLIBC-SA-2026-0029 with the vulnerable commit
918b9d72, the score and the reporter; no Fix-Commit line - GLIBC-SA-2026-0029 — the advisory file named in the record; refuses automated readers, so its text is quoted here as the announcement mail carries it
- glibc bug 35016 — the issue named in the record; rate-limited for automated readers on 1 December
- NVD entry — Received; published 17 November; the CNA’s score and CWE; no CPEs yet
- Distribution trackers: Debian (vulnerable everywhere, unfixed; bug 1154284) · Ubuntu (Medium, needs evaluation) · SUSE (moderate, affected, no package) · Red Hat (unreachable on 1 December)
- CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00397 on 1 December 2026
Related reading
- CVE-2026-121758: glibc ISO-2022-CN-EXT decoder reads past the end of its input on a stray shift-out byte — sibling from the same advisory batch, with a fix commit
- CVE-2026-124024: glibc IBM1390 and IBM1399 encoders look four bytes ahead of a combining base and past the end of the input — sibling from the same advisory batch
- CVE-2026-137951: libexpat reads past a narrow string literal in a wide-character build — another over-read that depends on a build or call option few people set
- CVE-2026-129438: PHP 8.5 Uri\Rfc3986\Uri returns a truncated string for a URI near 2 GiB — the same lesson about what a converter does at the end of its input
- Security advisories — every Linux-relevant CVE we track, newest first, with the component index
This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.
