Heap Buffer Overflow in Microsoft jxrlib and Mircomir jxrlib Fork
CVE-2026-129857
8.5HIGH
What is CVE-2026-129857?
The vulnerability in Microsoft jxrlib and the Mircomir jxrlib fork is caused by a heap buffer overflow in the ReadBinaryData() function. This occurs due to an integer overflow in the metadata count, allowing attackers to craft a malicious JPEG XR file with a specific count value that causes the system to allocate an undersized buffer. When the following file read operation occurs, it can lead to memory corruption, potentially compromising the integrity of the application using this library. This flaw highlights the importance of implementing proper bounds checking and validation on data inputs to prevent such vulnerabilities.
Affected Version(s)
jxrlib 0 <= 1.1
jxrlib 0 < 1.3.1