FreeImage (danoli3 fork) before 3.19.22 contains a heap buffer overflow vulnerability in the PBM RLE decoder of
Affects FreeImageSource GCVE Database
Not known to be exploited · CVSS 8.5 High : upgrade to 3.19.22 soon.
Data as of 29 Oct 2026, 01:14 UTC
- Patch
- Available – fixed in 3.19.22
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
Weaponised: 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 26 Oct 2026.
What to do
Upgrade danoli3/FreeImage to 3.19.22.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubdanoli3/FreeImagepkg:github/danoli3/FreeImageOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in FreeImage version 3.19.22 and later. Users should upgrade to version 3.19.22 or newer to remediate this vulnerability. No alternative mitigations or workarounds are indicated in the available data.
Description
FreeImage (danoli3 fork) versions before 3.19.22 contain a heap buffer overflow vulnerability in the PBM RLE decoder within PluginIFF.cpp. The flaw arises due to missing bounds checks on ByteRun1 runs, allowing crafted IFF/LBM PBM files with runs crossing scanline boundaries to write up to 127 bytes beyond the allocated heap buffer. This vulnerability has a high severity rating with a CVSS score of 7.8.
References
- nvd.nist.gov/vuln/detail/CVE-2026-118752 (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/commit/cf173c16354274dc8fb739dc395fc7f32efe7d45 (opens in a new tab)
- github.com/danoli3/FreeImage/commit/e1105d3b464b679f0525c6178d9ccf49d55cf712 (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/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)