CVE-2026-124024: glibc IBM1390 and IBM1399 encoders look four bytes ahead of a combining base and past the end of the input

ByLinuxtastic

December 1, 2026 #CVE, #glibc

IBM1390 and IBM1399 are EBCDIC-based Japanese encodings that glibc supports through its gconv modules, and converting into them from UCS-4 has an over-read. The record describes it: “these encoders may encounter a combining base such as U+00E6 and jump ahead by 4 bytes to check the next UCS-4 code point”, because some sequences of base plus combining character map to a single output code, and “the check for end of buffer however does not account for this, which may result in a buffer overread if the following code point has less than 4 bytes remaining”. The outcome is a crash of the calling application, and the record is unusually explicit that exploitation “not only requires attacker control of input and encoding, but also strict control over layout of the input in memory”. The GNU C Library scores it 5.9. Take the glibc update when your distribution ships it, and until then do not let untrusted callers choose IBM1390 or IBM1399 as a target encoding.

CVE-2026-124024 at a glance.

Componentglibc, the IBM1390 and IBM1399 gconv modules, in the direction from UCS-4 (the internal form every iconv() conversion passes through) to those encodings
Affected versionsglibc 2.3.3 and later, per the CNA record and the project’s advisory GLIBC-SA-2026-0031 (the CVE record links it as GLIBC-SA-2026-00231); introduced by commit 0ecb606c in the 2.3.3 development series; the record states no upper bound
Fixed inNo fix commit is named in the project’s 17 November advisory, and no glibc release carries one on 1 December 2026. Debian sid 2.43-8 is marked fixed by Debian’s tracker (which names no commit either); no other distribution lists a fixed package
Severityglibc (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 wildNot on CISA’s Known Exploited Vulnerabilities list as of 1 December 2026 (catalogue 2026.11.30). EPSS 0.00455 (41st percentile) on 1 December 2026
Who is exposedLinux processes built against glibc that convert text an attacker supplies into IBM1390 or IBM1399 at the attacker’s request: in practice, software that talks to IBM mainframe and midrange systems in Japanese locales, gateways that re-encode on the way to them, and anything that exposes “convert to any encoding” to users. The impact is a crash of that process, and the record’s memory-layout precondition makes a reliable crash harder still. musl-based systems such as Alpine do not have this code
Publishedglibc advisory and CVE record 17 November 2026; this page built 1 December 2026, last updated 1 December 2026

What it is

Every iconv() conversion in glibc goes through UCS-4, four bytes per code point, and an encoder’s job is to walk that stream and emit the target bytes. Most encoders look at one code point at a time. The IBM1390 and IBM1399 encoders cannot, because those encodings have single codes for certain base-plus-combining-character pairs, so when the encoder sees a base such as U+00E6 it has to look at the next code point before deciding what to emit. The record says that look-ahead jumps “4 bytes” forward, the width of one UCS-4 unit, and that the end-of-buffer check was written for the one-unit case: if fewer than four bytes remain after the base, the look-ahead reads beyond the input.

Reaching that needs three things at once, and the record lists all three. The attacker must supply the input, the attacker must get the conversion aimed at IBM1390 or IBM1399, and the input must end less than four bytes after a combining base, which in a UCS-4 stream means a truncated final unit, something a well-formed caller never produces. The last condition is why the record speaks of “strict control over layout of the input in memory” and why the vector carries AC:H: the over-read is a few bytes past a buffer whose end the attacker only partly controls, and whether it faults depends on what lies there. The impact is availability only.

The project’s advisory, as carried in its announcement mail, names the vulnerable commit (0ecb606c, from 2.3.3) and the reporter (slaythemole) but no fix commit, and the advisory files and Bugzilla on sourceware refuse automated readers, so the state of the upstream fix cannot be read directly. Debian’s tracker marks sid 2.43-8 as fixed, which says a patch exists and has been applied there; this page reports that as Debian states it and does not infer an upstream version from it. The two siblings in the same batch, CVE-2026-121758 (ISO-2022-CN-EXT) and CVE-2026-121757 (CP949), are decoder over-reads in the other direction and have their own pages.

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.

DistributionStatusFixed package
AlpineAlpine builds on musl, which has its own iconv and none of this code; not consulted for this page—
Debianglibc vulnerable in bookworm (2.36-9+deb12u14; bookworm-security 2.36-9+deb12u7), trixie (2.41-12+deb13u5, marked “no-dsa, Minor issue”) and forky (2.43-7); fixed in sid; Debian bug 1154286sid 2.43-8
UbuntuPriority Medium; glibc “Needs evaluation” on 16.04 through 26.10; no USNnothing on 1 December 2026
RHEL, Rocky, Alma, CentOS StreamTracker unreachable on 1 December 2026 (client error on the page and on the hydra JSON, twice); nothing inferred—
openSUSE/SLERated moderate, state Pending; every listed product “Affected”, including SLES 16.0/16.1 and SLE Micro 6.x; no released package; SUSE bug 1290815nothing on 1 December 2026
Arch, Fedora, Gentoo, self-built glibcNot consulted for this page; the record’s “2.3.3 and later” covers every current buildnothing upstream on 1 December 2026

How to check

Three questions, in order: which glibc the host runs, whether the two modules are present, and which processes convert into a caller-chosen encoding. The first rules out musl hosts; the third is the one that matters, and it is about your applications.

# 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. are the modules installed? (they are part of the normal gconv set)
iconv -l | grep -E 'IBM1390|IBM1399'
ls /usr/lib/x86_64-linux-gnu/gconv/IBM139[09].so /usr/lib64/gconv/IBM139[09].so 2>/dev/null

# 3. who converts into a caller-chosen encoding
for p in $(pgrep -f '.'); do grep -l 'gconv' /proc/$p/maps 2>/dev/null | sed "s|.*|pid $p: $(tr '\0' ' ' < /proc/$p/cmdline | cut -c1-60)|"; done 2>/dev/null | sort -u
grep -rlE 'iconv_open|iconv\(' --include='*.c' --include='*.cc' --include='*.cpp' /path/to/src 2>/dev/null | head
grep -rnE 'IBM1390|IBM1399|IBM-1390|IBM-1399' /etc /opt /srv 2>/dev/null | head

A host on Debian sid 2.43-8, or on musl, is done. Elsewhere the modules are present, since distributions ship the full gconv set, and the question is whether anything converts into IBM1390 or IBM1399 at a user’s request. For most Linux servers the honest answer is no: those encodings are mainframe and AS/400 Japanese, and a process that never names them, and never lets a user name them, is not in the record’s path. A gateway that does name them in its configuration (step 3’s last line) is the one to watch for the package update.

How to fix it

Install the glibc update when your distribution publishes one, then 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.

# Debian sid / testing-tracking hosts (stable has no fix on 1 December 2026)
apt update && apt install --only-upgrade libc6 && needrestart -r a
# openSUSE / Fedora / RHEL family: no package carries a fix on 1 December 2026; check again with
zypper list-patches --cve=CVE-2026-124024 2>/dev/null
dnf updateinfo info --cve CVE-2026-124024 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-00231

Until a package arrives, the control is on the application side: do not let an untrusted party pick the target encoding. An allow-list of encodings the application serves, checked before iconv_open(), removes IBM1390 and IBM1399 from reach on every system that has no business converting to them. What not to do: do not delete the two gconv modules to make the encodings unavailable, since removing files from the C library package leaves the package manager unable to verify or upgrade it cleanly; and do not treat Debian’s sid fix as evidence of an upstream release, since neither the tracker nor the advisory names one.

# application-side allow-list before iconv_open(): reject target encodings you do not serve
case "$TARGET_CHARSET" in
  UTF-8|ISO-8859-1|ISO-8859-15|WINDOWS-1252|SHIFT_JIS|EUC-JP) ;;
  *) echo "unsupported target charset $TARGET_CHARSET" >&2; exit 1 ;;
esac

That is the shape of the check, in whatever language the application is written; the point is that the encoding name should never reach iconv_open() straight from the request.

Sources

  • CVE-2026-124024 at CVE.org — the GNU C Library CNA record (17 November 2026): the description, “2.3.3 and later”, CVSS 3.1 5.9, CWE-126, the memory-layout precondition, 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-0031 with the vulnerable commit 0ecb606c, the score and the reporter; no Fix-Commit line
  • GLIBC-SA-2026-00231 — the advisory file named in the record; refuses automated readers, so its text is quoted here as the announcement mail carries it
  • glibc bug 34914 — the issue named in the record; behind an access check for automated readers
  • NVD entry — Received; published 17 November; the CNA’s score and CWE; no CPEs yet
  • Distribution trackers: Debian (sid 2.43-8 fixed; bug 1154286) · 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.00455 on 1 December 2026

Related reading

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.