Buffer overflow in Danoli3 Freeimage
CVE-2026-118752
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/danoli3/FreeImage/issues/156 (issue-tracking)
- github.com/danoli3/FreeImage (product)
- github.com/danoli3/FreeImage/blob/3.19.21/Source/FreeImage/PluginIFF.cpp (technical-description)
- github.com/danoli3/FreeImage/pull/161 (issue-tracking, patch)
- github.com/danoli3/FreeImage/commit/e1105d3b464b679f0525c6178d9ccf49d55cf712 (patch)
- github.com/danoli3/FreeImage/commit/cf173c16354274dc8fb739dc395fc7f32efe7d45 (patch)
- github.com/danoli3/FreeImage/releases/tag/3.19.22 (release-notes)
- www.vulncheck.com/advisories/freeimage-before-3.19.22-heap-buffer-overflow-via-… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-118752?
- CVE-2026-118752 is a high-severity vulnerability in Danoli3 Freeimage, classified under Out-of-bounds Write. CVSS score: 7.8/10. Published 2026-10-28.
- How severe is CVE-2026-118752?
- High severity. CVSS v3 base score is 7.8 out of 10.