CVE-2026-118752 FreeImage before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-118752?
CVE-2026-118752 is a high-severity vulnerability in FreeImage, published on 28 Oct 2026.
Official description
FreeImage (danoli3 fork) before 3.19.22 contains 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.
Weakness: CWE-787
Which versions are affected by CVE-2026-118752?
How do I fix CVE-2026-118752?
No fix has been published for CVE-2026-118752 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-118752 being exploited?
There is no known exploitation of CVE-2026-118752 in the wild and no public exploit code.
Sources
Also known as GHSA-pqw8-2jmw-8f2c, UBUNTU-CVE-2026-118752.