Out-of-bounds Read in Microsoft Jxrlib
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/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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H.
EPSS exploit prediction
FIRST.org has not scored this CVE yet. About EPSS.
Affected products
Weakness classification (CWE)
References
- seclists.org/oss-sec/2026/q4/368 (mailing-list)
- github.com/mircomir/jxrlib/commit/debe47a27c1ae37626fae9b8369db93e47d0aa19 (patch)
- issues.oss-fuzz.com/issues/372547401 (issue-tracking)
- github.com/mircomir/jxrlib/blob/1.3.6/README.md (release-notes)
- github.com/4creators/jxrlib/blob/v2019.10.9/image/decode/segdec.c (technical-description)
- www.vulncheck.com/advisories/microsoft-jxrlib-through-1.1-global-buffer-over-re… (third-party-advisory)