← News
FreeImage: heap buffer overflow
HighAI-generated2026-11-04
- CVE
- CVE-2026-118752
- Severity
- High (CVSS 7.8)
- Attack conditions
- With local access to the device · No account needed · A user must take some action
- Exploitation probability (EPSS)
- 0.1% (within 30 days; FIRST EPSS, 1 November 2026)
Summary
FreeImage versions prior to 3.19.22 contain a heap buffer overflow in the PBM RLE decoder. An attacker can craft a malicious image file to write up to 127 bytes beyond the allocated memory.
Details
According to the NVD record, FreeImage (danoli3 fork) before version 3.19.22 has a heap buffer overflow vulnerability in the PBM RLE decoder of PluginIFF.cpp. The flaw arises from missing bounds checks on ByteRun1 runs.
An attacker can provide a specially crafted IFF/LBM PBM file with runs that cross scanline boundaries, allowing them to write up to 127 bytes of controlled data beyond the heap-allocated bitmap.
What to do
The source record does not name a specific patch, fixed version or workaround. General measures:
- Follow the vendor's security advisories.
- Apply the update when it is released.
- Limit access to the product as much as possible, especially from the internet.
Sources
Timeline
- 28 October 2026 NVD record published
- 4 November 2026 This article was written