High severity · published Oct 28, 2026
CVE-2026-118752
FreeImage before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder
New
7.8
CVSS
–
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FR
FreeImage · danoli3
before 3.19.22 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-118752
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-118752
github.com
https://github.com/danoli3/FreeImage
github.com
https://github.com/danoli3/FreeImage/blob/3.19.21/Source/FreeImage/PluginIFF.cpp#L296-L324
github.com
https://github.com/danoli3/FreeImage/commit/cf173c16354274dc8fb739dc395fc7f32efe7d45
github.com
https://github.com/danoli3/FreeImage/commit/e1105d3b464b679f0525c6178d9ccf49d55cf712
github.com
https://github.com/danoli3/FreeImage/issues/156
github.com
https://github.com/danoli3/FreeImage/pull/161
More from FreeImage
7.8
CVE-2026-118753
FreeImage (danoli3 fork) before 3.19.25 Heap Buffer Overflow via GIF_PLAYBACK Compositing
6.1
CVE-2026-111149
FreeImage through 3.19.23 Heap Out-of-Bounds Read via PICT Unpack32Bits
