๐Ÿ” CVE Alert

CVE-2026-118752

HIGH 7.8

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

CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-787
Vendor danoli3
Product freeimage
Published Oct 28, 2026
Stay Ahead of the Next One

Get instant alerts for danoli3 freeimage

Be the first to know when new high vulnerabilities affecting danoli3 freeimage are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

danoli3 / FreeImage
0 < 3.19.22
FreeImage / FreeImage
0 โ‰ค 3.18.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/danoli3/FreeImage/issues/156 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/pull/161 github.com: https://github.com/danoli3/FreeImage/commit/e1105d3b464b679f0525c6178d9ccf49d55cf712 github.com: https://github.com/danoli3/FreeImage/commit/cf173c16354274dc8fb739dc395fc7f32efe7d45 github.com: https://github.com/danoli3/FreeImage/releases/tag/3.19.22 vulncheck.com: https://www.vulncheck.com/advisories/freeimage-before-3.19.22-heap-buffer-overflow-via-iff-lbm-pbm-rle-decoder

Credits

areofyl Tristan Madani