CVE-2026-129857

Microsoft jxrlib through 1.1 Heap Buffer Overflow via ReadBinaryData Integer Overflow

Published Nov 16, 2026 CVSS 4.0 · 8.5 High EPSS n/a KEV · Not listed
Description
Microsoft jxrlib through 1.1 and the mircomir jxrlib fork before 1.3.1 contain a heap buffer overflow in ReadBinaryData() in jxrgluelib/JXRMeta.c caused by integer overflow of the metadata count. Attackers can supply a JPEG XR file with a count of 0xFFFFFFFE or 0xFFFFFFFF, wrapping PKAlloc(uCount + 2) to an undersized buffer that the following file read overflows, corrupting heap memory in decoding applications.

Analysis

AI-generated

Technical impact

The flaw is a heap buffer overflow in the ReadBinaryData routine of the JPEG XR decoding library. A malicious image file can include a metadata count field of 0xFFFFFFFE or 0xFFFFFFFF, causing an integer overflow that wraps the allocation size for a temporary buffer. The subsequent file read then overflows the undersized buffer, corrupting heap memory and potentially allowing attacker-controlled code to execute within the decoding context.

Affected Systems

Microsoft jxrlib versions up to and including 1.1 are impacted. The mirrors of the lib, mircomir:jxrlib before 1.3.1, are also affected. These libraries are embedded in Windows and other software that accepts JPEG XR images; any application linked against them may be vulnerable if it processes untrusted image data.

Risk and Exploitability

The CVSS score of 8.5 indicates high severity. EPSS is not available, and the flaw is not yet listed in the CISA KEV catalog, suggesting it may still be in the wild. Exposure requires delivery of a specially crafted JPEG XR file, which can be accomplished by any party that can force the vulnerable software to decode such a file—common vectors include user-provided images in web or desktop applications. If exploited, the overflow can lead to arbitrary code execution or denial of service, with scope limited to the privileges of the running process.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Microsoft jxrlib to version 1.2 or later, or upgrade the mircomir fork to version 1.3.1 or newer.
  • If an immediate library upgrade is not possible, restrict the processing of JPEG XR images to trusted sources only or disable JPEG XR support in the application configuration.
  • Implement input validation to reject files where the metadata count exceeds a reasonable threshold, thereby preventing the integer overflow from occurring.

Generated by OpenCVE AI on November 16, 2026 at 15:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Microsoft jxrlib through 1.1 and the mircomir jxrlib fork before 1.3.1 contain a heap buffer overflow in ReadBinaryData() in jxrgluelib/JXRMeta.c caused by integer overflow of the metadata count. Attackers can supply a JPEG XR file with a count of 0xFFFFFFFE or 0xFFFFFFFF, wrapping PKAlloc(uCount + 2) to an undersized buffer that the following file read overflows, corrupting heap memory in decoding applications.
Title Microsoft jxrlib through 1.1 Heap Buffer Overflow via ReadBinaryData Integer Overflow
Weaknesses CWE-190
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Subscriptions

No data.

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 16, 2026, 2:19 PM
Reserved
Nov 16, 2026, 12:35 PM
Status
Awaiting Analysis
Published
Nov 16, 2026, 3:17 PM
Modified
Nov 16, 2026, 3:17 PM