CVE-2026-129857 · Package
NO FIX YET · SEE WHAT TO DO
jxrlib is a library for decoding JPEG XR images, and a malformed file with a huge metadata count makes it allocate too little memory and then write past the buffer. An attacker who gets a crafted image into an application that decodes it can corrupt heap memory, which may allow code execution.
first public Nov 16, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Applications that decode JPEG XR images with Microsoft jxrlib through 1.1 or the mircomir fork before 1.3.1 are exposed, especially when they accept images from untrusted users. Projects that do not link jxrlib, or that only handle other image formats, can skip it.
Not affected if no-jxr-decoding, trusted-input-only
Who cares c, image-decoding, jpeg-xr, jxrlib
grep -ri jxrlib across manifests and vendored source1.3.1Microsoft 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.
This page as .md · .json · CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
. Posts quoted belong to their authors.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.