{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.3.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "debe47a27c1ae37626fae9b8369db93e47d0aa19"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "14b78eafa4848d63d8fc32792cc398f3b8c4ae84"
            },
            {
              "fixed": "debe47a27c1ae37626fae9b8369db93e47d0aa19"
            }
          ],
          "repo": "https://github.com/mircomir/jxrlib",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58407.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "last_affected": "1.1"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2024-58407",
  "modified": "2026-11-17T20:45:49.337276722Z",
  "published": "2026-11-16T14:19:41.775Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58407.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-58407"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/microsoft-jxrlib-through-1.1-global-buffer-over-read-via-decodesignificantrun"
    },
    {
      "type": "REPORT",
      "url": "https://issues.oss-fuzz.com/issues/372547401"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mircomir/jxrlib/commit/debe47a27c1ae37626fae9b8369db93e47d0aa19"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/mircomir/jxrlib"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/4creators/jxrlib/blob/v2019.10.9/image/decode/segdec.c#L358-L360"
    },
    {
      "type": "ARTICLE",
      "url": "https://seclists.org/oss-sec/2026/q4/368"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Microsoft jxrlib through 1.1 Global Buffer Over-read via DecodeSignificantRun"
}