CVE-2024-58407
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/decod…
Impact
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.
An attacker can exploit this with local access to the system, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: low risk of data being read, high risk of outages.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Microsoft | Jxrlib | through 1.1 before 1.3.1 Version 0 ≤1.1 |
| Mircomir | Jxrlib | before 1.3.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://seclists.org/oss-sec/2026/q4/368
- https://github.com/mircomir/jxrlib/commit/debe47a27c1ae37626fae9b8369db93e47d0aa19
- https://issues.oss-fuzz.com/issues/372547401
- https://github.com/mircomir/jxrlib/blob/1.3.6/README.md#changelog
- https://github.com/4creators/jxrlib/blob/v2019.10.9/image/decode/segdec.c#L358-L360
- https://www.vulncheck.com/advisories/microsoft-jxrlib-through-1.1-global-buffer-over-read-via-decodesignificantrun
- https://github.com/advisories/GHSA-j628-229f-mgfg
- https://nvd.nist.gov/vuln/detail/CVE-2024-58407