CVE-2026-129857
Description
Microsoft jxrlib through 1.1 and the mircomir jxrlib fork before 1.3.1 contain a heap buffer overflow in ReadBinaryData() in jxrgluelib/JXRMeta.c caused by integer overflow of the metadata count. Attackers can supply a JPEG XR file with a count of 0xFFFFFFFE or 0xFFFFFFFF, wrapping PKAlloc(uCount + 2) to an undersized buffer that the following file read overflows, corrupting heap memory in decoding applications.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-129857 NameCVE-2026-129857 DescriptionMicrosoft jxrlib through 1.1 and the mircomir jxrlib fork before 1.3.1 contain a heap buffer overflow in ReadBinaryData() in jxrgluelib/JXRMeta.c caused by integer overflow of the metadata count. Attackers can supply a JPEG XR file with a count of 0xFFFFFFFE or 0xFFFFFFFF, wrapping PKAlloc(uCount + 2) to an undersized buffer that the following file…
CVE-2026-129857
| Name | CVE-2026-129857 |
| Description | Microsoft jxrlib through 1.1 and the mircomir jxrlib fork before 1.3.1 contain a heap buffer overflow in ReadBinaryData() in jxrgluelib/JXRMeta.c caused by integer overflow of the metadata count. Attackers can supply a JPEG XR file with a count of 0xFFFFFFFE or 0xFFFFFFFF, wrapping PKAlloc(uCount + 2) to an undersized buffer that the following file read overflows, corrupting heap memory in decoding applications. |
| 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 | 1151921 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| jxrlib (PTS) | bookworm | 1.2~git20170615.f752187-5 | vulnerable |
| trixie | 1.2~git20170615.f752187-5.3 | vulnerable | |
| forky | 1.2~git20261102.1ef17dd-1 | vulnerable | |
| sid | 1.4.7-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| jxrlib | source | (unstable) | 1.4.7-1 | 1151921 |
Notes
https://www.openwall.com/lists/oss-security/2026/10/24/1
Fixed by: https://github.com/mircomir/jxrlib/commit/cb97e6debb5019cfa774f314c230629da05fc746 (1.3.1)
Apply commands
https://www.openwall.com/lists/oss-security/2026/10/24/1Fixed by: https://github.com/mircomir/jxrlib/commit/cb97e6debb5019cfa774f314c230629da05fc746 (1.3.1)
OS impact
Azure Linux Affected 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 4.0 | — | Affected | — |
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | jxrlib |
Affected | — |
| sid | jxrlib |
Fixed | 1.4.7-1 |
| forky | jxrlib |
Affected | — |
| bookworm | jxrlib |
Affected | — |
References
- https://github.com/4creators/jxrlib/blob/v2019.10.9/jxrgluelib/JXRMeta.c#L677-L690
- https://github.com/mircomir/jxrlib/blob/1.3.6/README.md#changelog
- https://github.com/mircomir/jxrlib/commit/cb97e6debb5019cfa774f314c230629da05fc746
- https://seclists.org/oss-sec/2026/q4/368
- https://www.vulncheck.com/advisories/microsoft-jxrlib-through-1.1-heap-buffer-overflow-via-readbinarydata-integer-overflow
- https://security-tracker.debian.org/tracker/CVE-2026-129857
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-129857
CWEs
CWE-190
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.