Microsoft and mircomir jxrlib heap buffer overflow in JPEG XR metadata
Microsoft jxrlib · mircomir jxrlib
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Microsoft jxrlib |
| No fix yet |
| mircomir jxrlib |
| No fix yet |
Original 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.
From the CVE record · VulnCheck