CVE-2024-58408

Source
https://cve.org/CVERecord?id=CVE-2024-58408
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58408.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-58408
Downstream
Published
2026-11-16T14:19:41Z
Modified
2026-11-18T01:06:13Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
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.

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":  [
                {
                    "range":  [
                        {
                            "last_affected":  "1.1"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/mircomir/jxrlib

Affected ranges

Type
GIT
Repo
https://github.com/mircomir/jxrlib
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.3.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "ba86c041febb1472551681bae0d59a62e2e42072"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58408.json"
vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-11-18T01:06:13Z"