Technical impact
The vulnerability is a heap buffer overflow in the PBM RLE decoder of PluginIFF.cpp caused by missing bounds checks on ByteRun1 runs. An attacker can supply a crafted IFF/LBM PBM file with runs straddling scanline ends to write up to 127 controlled bytes beyond the intended bitmap buffer, corrupting adjacent heap memory. This memory corruption can give the attacker the ability to execute arbitrary code or cause a denial of service if the corrupted data affects program flow.
Affected Systems
FreeImage library versions through 3.18.0 and the danoli3 FreeImage fork prior to 3.19.22 are affected. Applications that load or process IFF/LBM PBM images via these libraries are vulnerable until the flaw is addressed by upgrading or applying a fix.
Risk and Exploitability
The CVSS score of 8.5 classifies this as a high‑severity vulnerability, while the EPSS score of < 1% indicates a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Attackers would need to supply a crafted IFF or LBM PBM file to the application using the library, either from local or remote sources that the application processes untrusted images. The overflow writes controlled bytes into the heap, potentially enabling arbitrary code execution or destabilizing the host if the corrupted memory affects critical data structures.