medium6.9
CVE-2024-58408
Microsoft jxrlib through 1.1 and the mircomir jxrlib fork before 1.3.1 contain a global buffer over-read vulnerability in initLookupTables() in image/decode/st…
Impact
Microsoft jxrlib through 1.1 and the mircomir jxrlib fork before 1.3.1 contain a global buffer over-read vulnerability in initLookupTables() in image/decode/strdec.c caused by an unchecked bit depth index. Attackers can supply a crafted JPEG XR file with an out-of-range bit depth in the image header to read beyond the cbChannels array, causing crashes or memory disclosure.
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/ba86c041febb1472551681bae0d59a62e2e42072
- https://issues.oss-fuzz.com/issues/372819447
- https://github.com/mircomir/jxrlib/blob/1.3.6/README.md#changelog
- https://github.com/4creators/jxrlib/blob/v2019.10.9/image/decode/strdec.c#L2617
- https://www.vulncheck.com/advisories/microsoft-jxrlib-through-1.1-global-buffer-over-read-via-initlookuptables
- https://github.com/advisories/GHSA-9q2x-93wf-wqpj
- https://nvd.nist.gov/vuln/detail/CVE-2024-58408