FreeImage through 3.19.23 Heap Out-of-Bounds Read via PICT Unpack32Bits
danoli3 FreeImage · FreeImage
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| danoli3 FreeImage |
| No fix yet |
| FreeImage FreeImage |
| No fix yet |
Original description
FreeImage (danoli3 fork) through 3.19.23 contains a heap out-of-bounds read vulnerability in Unpack32Bits() in PluginPICT.cpp because rowBytes is never checked against the file-controlled PixMap width. Attackers can supply a crafted PICT file with a truncated or undersized rowBytes to over-read up to 64 KiB of heap, leaking memory into decoded pixels or crashing the process.
From the CVE record · VulnCheck