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.
- CVSS
- 7.8High
- Chance of exploitation (EPSS)
- 0.22%
- Published
- Oct 28, 2026
- In the news
- Not yet
What to do
A serious memory corruption flaw in Danoli3 Freeimage and Freeimage that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 3.19.22
Affected versions
- Danoli3 Freeimage
- Before 3.19.22
- Freeimage
- Through 3.18.0
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.
Affected products
Get alerts for these →Timeline 2
Latest change: Nessus plugin 373860: Linux Distros Unpatched Vulnerability : CVE-2026-118752 (Nov 1, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Mon, Nov 2, 2026
Wed, Oct 28, 2026
- CVECVE-2026-118752 published (CVSS 7.8)CVE Program · 22:17 UTC
References 12
- github.com /danoli3/FreeImage
- github.com /danoli3/FreeImage/blob/3.19.21/Source/FreeImage/PluginIFF.cpp#L296-L324
- github.com /danoli3/FreeImage/commit/cf173c16354274dc8fb739dc395fc7f32efe7d45
- github.com /danoli3/FreeImage/commit/e1105d3b464b679f0525c6178d9ccf49d55cf712
- github.com /danoli3/FreeImage/issues/156
- github.com /danoli3/FreeImage/pull/161
- github.com /danoli3/FreeImage/pull/244
- github.com /danoli3/FreeImage/releases/tag/3.19.22
- sourceforge.net /p/freeimage/patches/198/
- sourceforge.net /projects/freeimage/
- www.vulncheck.com /advisories/freeimage-before-3.19.22-heap-buffer-overflow-via-iff-lbm-pbm-rle-decoder
- github.com /danoli3/FreeImage/issues/156