CVE-2024-58407
Microsoft jxrlib through 1.1 and the mircomir jxrlib fork before …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/4creators/jxrlib/blob/v2019.10.9/image/decode/segdec.c#L358-L360
- github.com/mircomir/jxrlib/blob/1.3.6/README.md#changelog
- github.com/mircomir/jxrlib/commit/debe47a27c1ae37626fae9b8369db93e47d0aa19
- issues.oss-fuzz.com/issues/372547401
- seclists.org/oss-sec/2026/q4/368
- www.vulncheck.com/advisories/microsoft-jxrlib-through-1.1-global-buffer-over-read-via-deco
- nvd.nist.gov/vuln/detail/CVE-2024-58407
- cve.org/CVERecord?id=CVE-2024-58407
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.