{"id":"CVE-2024-58408","summary":"Microsoft jxrlib through 1.1 Global Buffer Over-Read via initLookupTables","details":"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.","modified":"2026-11-18T01:06:13.499315609Z","published":"2026-11-16T14:19:41.079Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-129"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58408.json","unresolved_ranges":[{"extracted_events":[{"strategy":"StandardRange","range":[{"last_affected":"1.1"}],"source":"AFFECTED_FIELD"}]}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58408.json"},{"type":"ADVISORY","url":"https://github.com/mircomir/jxrlib/blob/1.3.6/README.md#changelog"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58408"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/microsoft-jxrlib-through-1.1-global-buffer-over-read-via-initlookuptables"},{"type":"REPORT","url":"https://issues.oss-fuzz.com/issues/372819447"},{"type":"FIX","url":"https://github.com/mircomir/jxrlib/commit/ba86c041febb1472551681bae0d59a62e2e42072"},{"type":"PACKAGE","url":"https://github.com/mircomir/jxrlib"},{"type":"ARTICLE","url":"https://github.com/4creators/jxrlib/blob/v2019.10.9/image/decode/strdec.c#L2617"},{"type":"ARTICLE","url":"https://seclists.org/oss-sec/2026/q4/368"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mircomir/jxrlib","events":[{"introduced":"0"},{"fixed":"14b78eafa4848d63d8fc32792cc398f3b8c4ae84"},{"fixed":"ba86c041febb1472551681bae0d59a62e2e42072"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"1.3.1"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"ba86c041febb1472551681bae0d59a62e2e42072"}],"source":"REFERENCES_COMMIT"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58408.json","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/mircomir/jxrlib/commit/ba86c041febb1472551681bae0d59a62e2e42072","target":{"file":"image/decode/strdec.c"},"deprecated":false,"digest":{"line_hashes":["65900668856174964977646000183247573199","326075547544642739946096327313102940447","304792669465598100060070780511151873418","236575215435958235289210329173579571965"],"threshold":0.9},"id":"CVE-2024-58408-33fe5e0c"},{"source":"https://github.com/mircomir/jxrlib/commit/ba86c041febb1472551681bae0d59a62e2e42072","target":{"function":"initLookupTables","file":"image/decode/strdec.c"},"deprecated":false,"digest":{"function_hash":"18187674103451374538598972770037731207","length":3367},"id":"CVE-2024-58408-35850645","signature_type":"Function","signature_version":"v1"},{"signature_version":"v1","source":"https://github.com/mircomir/jxrlib/commit/14b78eafa4848d63d8fc32792cc398f3b8c4ae84","target":{"file":"jxrgluelib/JXRMeta.c"},"deprecated":false,"digest":{"line_hashes":["59037316296812052375495476668094950243","100646147011860472785002676599402267729","304224440491552895332477016626500680400","145062320250632080510671545472599716447"],"threshold":0.9},"id":"CVE-2024-58408-c71b18dc","signature_type":"Line"}],"vanir_signatures_modified":"2026-11-18T01:06:13Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}