CVE-2024-58407 · Package
NO FIX YET · SEE WHAT TO DO
Microsoft jxrlib through 1.1 and the mircomir fork before 1.3.1 read past a global array when decoding a crafted JPEG XR image. An attacker can leak memory contents or crash the decoder.
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 (.jxr, .wdp, .hdp) images using jxrlib, especially those that accept files from users or the internet. Projects that do not decode JPEG XR, or that only handle trusted images, are less exposed. The sources do not say whether Microsoft's upstream release has a fix.
Not affected if no-jpeg-xr-decoding, trusted-input-only
Who cares c, image-decoding, jpeg-xr, jxrlib
grep -ri jxrlib in the project tree or the vendored code.1.3.1 are affected.1.3.1 (fixed version named in the sources)Microsoft jxrlib through 1.1 and the mircomir jxrlib fork before 1.3.1 contain a global buffer over-read vulnerability in DecodeSignificantRun() in image/decode/segdec.c due to an unchecked run length. Attackers can supply a crafted JPEG XR file with an out-of-range iMaxRun value that indexes gSignificantRunBin[] out of bounds, causing memory disclosure or crashes during decoding.
This page as .md · .json · CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/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
NVD data is provided by NIST and is public domain. 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.