CVE-2026-118752 FreeImage through 3.18.0 and danoli3 fork before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder
HighCVSS 8.5
EPSS 0.28%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- Ubuntu
Description
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.
Upgrade path
6 packages: 2 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/freeimage(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/freeimage(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/freeimage(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/freeimage(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| danoli3/freeimage | < 3.19.22 | 3.19.22 | Fixed |
| FreeImage | <= 3.18.0 | after 3.18.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| danoli3/freeimage | < 3.19.22 | 3.19.22 |
| FreeImage | <= 3.18.0 | No fix listed |
| ubuntu/freeimage(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/freeimage(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/freeimage(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/freeimage(Ubuntu:26.10) | All versions | No fix listed |
References
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2563206 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com product
- github.com technical-description
- github.com patch
- github.com patch
- GitHub Issue #156 exploit issue-tracking
- github.com issue-tracking patch
- FreeImage 3.19.22 Release Notes release-notes
- VulnCheck Advisory: FreeImage before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder third-party-advisory
- Changelog naming CVE-2026-118752 and CVE-2026-118753 release-notes
- sourceforge.net product
- Upstream patch submission #198 issue-tracking patch
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-112496 third-party-advisory