---
id: CVE-2024-58407
title: Microsoft jxrlib through 1.1 Global Buffer Over-read via DecodeSignificantRun
summary: >-
  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…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-125
vendor: Microsoft
product: jxrlib
affected:
  - jxrlib <= 1.1
  - jxrlib < 1.3.1
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-16T18:21:11.018261Z'
published: '2026-11-16'
updated: '2026-11-16'
sourceUpdated: '2026-11-16T18:25:26.933Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2024-58407'
references:
  - url: 'https://seclists.org/oss-sec/2026/q4/368'
  - url: >-
      https://github.com/mircomir/jxrlib/commit/debe47a27c1ae37626fae9b8369db93e47d0aa19
  - url: 'https://issues.oss-fuzz.com/issues/372547401'
  - url: 'https://github.com/mircomir/jxrlib/blob/1.3.6/README.md#changelog'
  - url: >-
      https://github.com/4creators/jxrlib/blob/v2019.10.9/image/decode/segdec.c#L358-L360
  - url: >-
      https://www.vulncheck.com/advisories/microsoft-jxrlib-through-1.1-global-buffer-over-read-via-decodesignificantrun
    label: >-
      VulnCheck Advisory: Microsoft jxrlib through 1.1 Global Buffer Over-read
      via DecodeSignificantRun
tags:
  - cve.org
ingestedAt: '2026-11-16T15:09:38.660Z'
epss: 0.00983
epssPercentile: 0.62886
---

## Overview

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.

## Affected

- `jxrlib <= 1.1`
- `jxrlib < 1.3.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
