GHSA-hmpq-mc7h-9mv3MediumCVSS 6.1
FreeImage (danoli3 fork) through 3.19.23 contains a heap out-of-bounds read vulnerability in...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-111149
- https://github.com/danoli3/FreeImage
- https://github.com/danoli3/FreeImage/blob/cc2bfc1b67d3a10e2c203c56932b09ffb52a4477/Source/FreeImage/PluginPICT.cpp#L605-L650
- https://hackmd.io/@haind-pwn/freeimage-pict-unpack32bits-plane-conversion-oob-read
- https://www.vulncheck.com/advisories/freeimage-through-3.19.23-heap-out-of-bounds-read-via-pict-unpack32bits
- https://github.com/advisories/GHSA-hmpq-mc7h-9mv3