CVE-2026-129857 Microsoft jxrlib through 1.1 Heap Buffer Overflow via ReadBinaryData Integer Overflow

High 8.5 Published Updated

A crafted JPEG XR file can overflow a heap buffer in applications decoding it with jxrlib, corrupting memory; software using jxrlib should care.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Harmful if only installed
No
Needs a specific call
No
Fix
None listed

What is CVE-2026-129857?

CVE-2026-129857 is a high-severity integer overflow vulnerability in Microsoft jxrlib, published on 16 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-190

Which versions are affected by CVE-2026-129857?

1 open source package ship an affected version, including mircomir/jxrlib.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
mircomir/jxrlib GitHub
pkg:github/mircomir/jxrlib
All versions1.3.1

How do I fix CVE-2026-129857?

Upgrade mircomir/jxrlib to 1.3.1 or later.

Upgrade to the fixed version. Check arithmetic on sizes and lengths before using the result. More about Integer overflow.

Is CVE-2026-129857 being exploited?

There is no known exploitation of CVE-2026-129857 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-129857, GHSA-2v4g-mv6r-6xfg, UBUNTU-CVE-2026-129857.

Is CVE-2026-129857 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free