All vulnerabilities
CVE-2026-118752

FreeImage before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder

danoli3 FreeImage
CVSS
8.5High
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)No scoreNo FIRST EPSS score in this snapshot yet
Fixed in3.19.22Fixed versionCVE List
Published28 Oct 2026Updated 28 Oct 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 2

  • FreeImageaffected: all versions before 3.19.22CVE List
  • FreeImageaffected: all versions through 3.18.0CVE List

References 8