CVE-2026-118752
7.8 HIGHpublic exploit availablePublished 2026-10-28 · Updated 2026-11-02
AI risk analysis
- Summary
- A heap buffer overflow in FreeImage's PBM RLE decoder (PluginIFF.cpp) allows attackers to write up to 127 bytes past the end of a heap-allocated bitmap by supplying a crafted IFF/LBM PBM file with malformed ByteRun1 runs that straddle scanline boundaries, due to missing bounds checks.
- Exploitability
- Exploitation requires user interaction (e.g., opening a malicious file) and local access, but is otherwise straightforward given the availability of public exploits.
- Blast radius
- Successful exploitation could lead to full compromise of the affected application or system via memory corruption, enabling remote code execution, data theft, or denial of service.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to FreeImage version 3.19.22 or later (danoli3 fork) or apply vendor patches if available for earlier versions; no fixed version is specified for the original FreeImage 3.18.0 branch in the description, so patching to the danoli3 fork 3.19.22 is the concrete recommended action.
heap-overflowimage-parserrcelocal-exploit
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-787
Public exploit & PoC references
- https://github.com/danoli3/FreeImage
- https://github.com/danoli3/FreeImage/blob/3.19.21/Source/FreeImage/PluginIFF.cpp#L296-L324
- https://github.com/danoli3/FreeImage/commit/cf173c16354274dc8fb739dc395fc7f32efe7d45
- https://github.com/danoli3/FreeImage/commit/e1105d3b464b679f0525c6178d9ccf49d55cf712
- https://github.com/danoli3/FreeImage/issues/156
- https://github.com/danoli3/FreeImage/pull/161
- https://github.com/danoli3/FreeImage/pull/244
- https://github.com/danoli3/FreeImage/releases/tag/3.19.22
All references
- https://github.com/danoli3/FreeImage
- https://github.com/danoli3/FreeImage/blob/3.19.21/Source/FreeImage/PluginIFF.cpp#L296-L324
- https://github.com/danoli3/FreeImage/commit/cf173c16354274dc8fb739dc395fc7f32efe7d45
- https://github.com/danoli3/FreeImage/commit/e1105d3b464b679f0525c6178d9ccf49d55cf712
- https://github.com/danoli3/FreeImage/issues/156
- https://github.com/danoli3/FreeImage/pull/161
- https://github.com/danoli3/FreeImage/pull/244
- https://github.com/danoli3/FreeImage/releases/tag/3.19.22
- https://sourceforge.net/p/freeimage/patches/198/
- https://sourceforge.net/projects/freeimage/
- https://www.vulncheck.com/advisories/freeimage-before-3.19.22-heap-buffer-overflow-via-iff-lbm-pbm-rle-decoder
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2017-20286PoC
- HIGHCVE-2026-104061PoC
- HIGHCVE-2026-104062PoC
- HIGHCVE-2026-104066PoC
- HIGHCVE-2026-120435
- HIGHCVE-2026-100215
- HIGHCVE-2026-102227
- HIGHCVE-2026-119718
Related by shared AI tags and CWE weakness class. Browse the full archive.