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
Affects freeimageSource GCVE Database
Not known to be exploited · CVSS 8.5 High.
Data as of 5 Nov 2026, 12:35 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10freeimagepkg:deb/ubuntu/freeimage?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSfreeimagepkg:deb/ubuntu/freeimage?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSfreeimagepkg:deb/ubuntu/freeimage?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSfreeimagepkg:deb/ubuntu/freeimage?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSfreeimagepkg:deb/ubuntu/freeimage?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSfreeimagepkg:deb/ubuntu/freeimage?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-118752 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-118752 (opens in a new tab)
- github.com/danoli3/FreeImage (opens in a new tab)
- github.com/danoli3/FreeImage/blob/3.19.21/Source/FreeImage/PluginIFF.cpp (opens in a new tab)
- github.com/danoli3/FreeImage/commit/cf173c16354274dc8fb739dc395fc7f32efe7d45 (opens in a new tab)
- github.com/danoli3/FreeImage/commit/e1105d3b464b679f0525c6178d9ccf49d55cf712 (opens in a new tab)
- github.com/danoli3/FreeImage/issues/156 (opens in a new tab)
- github.com/danoli3/FreeImage/pull/161 (opens in a new tab)
- github.com/danoli3/FreeImage/releases/tag/3.19.22 (opens in a new tab)
- vulncheck.com/advisories/freeimage-before-3.19.22-heap-buffer-overflow-via-iff-lbm-pbm-rle-decoder (opens in a new tab)