CVE-2026-118752 json
FreeImage through 3.18.0 and danoli3 fork before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder
published 2026-10-28 11 d ago modified 2026-11-05 3 d ago also EUVD-2026-112496
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 4%
- public exploits
- 0
- none known
Summary
FreeImage through 3.18.0 and the danoli3 FreeImage fork before 3.19.22 contain 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.
Patch / fix
- danoli3 FreeImage 3.19.22
- github.com/danoli3/FreeImage@e1105d3 commit
- github.com/danoli3/FreeImage@cf173c1 commit
- sourceforge.net/p/freeimage/patches/198/ patch
- github.com/danoli3/FreeImage#161 pull request
- github.com/danoli3/FreeImage#244 pull request
- github.com/danoli3/FreeImage/releases/tag/3.19.22 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-118752 updated cvss 7.8
freeimage: FreeImage: Arbitrary code execution via heap-based buffer overflow in image decoder
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 3 d ago
Exploit prediction
0.15% chance of exploitation in the next 30 days, higher than 4% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/danoli3/FreeImage/issues/156 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.5 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 8.5 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected products
- danoli3 FreeImage
- FreeImage FreeImage
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/danoli3/FreeImage/pull/161
patch, issue-tracking
-
github.com
/danoli3/FreeImage/commit/e1105d3b464b679f0525c6178d9ccf49d55cf712
patch
-
github.com
/danoli3/FreeImage/commit/cf173c16354274dc8fb739dc395fc7f32efe7d45
patch
-
github.com
/danoli3/FreeImage/pull/244
release-notes
-
sourceforge.net
/p/freeimage/patches/198/
patch, issue-tracking
-
github.com
/danoli3/FreeImage/issues/156
issue-tracking, exploit
-
github.com
/danoli3/FreeImage
product
-
github.com
/danoli3/FreeImage/blob/3.19.21/Source/FreeImage/PluginIFF.cpp#L296-L324
technical-description
-
github.com
/danoli3/FreeImage/releases/tag/3.19.22
release-notes
-
sourceforge.net
/projects/freeimage/
product
-
vulncheck.com
/advisories/freeimage-before-3.19.22-heap-buffer-overflow-via-iff-lbm-pbm-rle-decoder
third-party-advisory
Sources
- CVE List CVE-2026-118752
- NVD CVE-2026-118752
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.