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.
{
"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": [
{
"range": [
{
"last_affected": "1.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.3.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "ba86c041febb1472551681bae0d59a62e2e42072"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58408.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"65900668856174964977646000183247573199",
"326075547544642739946096327313102940447",
"304792669465598100060070780511151873418",
"236575215435958235289210329173579571965"
],
"threshold": 0.9
},
"id": "CVE-2024-58408-33fe5e0c",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mircomir/jxrlib/commit/ba86c041febb1472551681bae0d59a62e2e42072",
"target": {
"file": "image/decode/strdec.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "18187674103451374538598972770037731207",
"length": 3367
},
"id": "CVE-2024-58408-35850645",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mircomir/jxrlib/commit/ba86c041febb1472551681bae0d59a62e2e42072",
"target": {
"file": "image/decode/strdec.c",
"function": "initLookupTables"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"59037316296812052375495476668094950243",
"100646147011860472785002676599402267729",
"304224440491552895332477016626500680400",
"145062320250632080510671545472599716447"
],
"threshold": 0.9
},
"id": "CVE-2024-58408-c71b18dc",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mircomir/jxrlib/commit/14b78eafa4848d63d8fc32792cc398f3b8c4ae84",
"target": {
"file": "jxrgluelib/JXRMeta.c"
}
}
]
"2026-11-18T01:06:13Z"