CVE-2026-118752 Details
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.
A heap buffer overflow vulnerability has been identified in FreeImage (danoli3 fork) versions prior to 3.19.22. The issue resides in the PBM RLE decoder within PluginIFF.cpp, where the absence of proper bounds checks on ByteRun1 runs allows attackers to craft IFF/LBM PBM files that exploit this flaw. By straddling scanline ends, these files can cause the application to write up to 127 bytes of controlled data beyond the allocated bitmap, potentially leading to memory corruption.
Users can upgrade to FreeImage version 3.19.22 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 28, 2026CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| danoli3 FreeImage | >= 0, < 3.19.22 <= 3.18.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Nov 2, 2026 | CVE Modified | [email protected] |
| Oct 28, 2026 | New CVE Received | [email protected] |
Volerion