FreeImage heap buffer overflow in IFF/LBM PBM RLE decoding
danoli3 FreeImage · FreeImage
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| danoli3 FreeImage |
| No fix yet |
| FreeImage FreeImage |
| No fix yet |
Original description
FreeImage through 3.18.0 and the danoli3 FreeImage fork before 3.19.22 contain a heap buffer overflow vulnerability in the PBM RLE decoder of PluginIFF.cpp that lacks bounds checks on ByteRun1 runs. Attackers can supply a crafted IFF/LBM PBM file with runs straddling scanline ends to write up to 127 controlled bytes past the heap-allocated bitmap.
From the CVE record · VulnCheck