← Back to search

CVE-2026-118752

7.8 HIGHpublic exploit available

Published 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

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.