CVE-2026-118753 FreeImage through 3.18.0 and danoli3 fork before 3.19.25 Heap Buffer Overflow via GIF_PLAYBACK Compositing
HighCVSS 8.5
EPSS 0.15%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Ubuntu
Description
FreeImage through 3.18.0 and the danoli3 FreeImage fork before 3.19.25 contain a heap buffer overflow vulnerability in PluginGIF.cpp that allows attackers to write past the canvas allocation via unclipped GIF frame rectangles. Attackers can craft a GIF whose frame left plus width exceeds the logical screen width, causing GifPlaybackCompositeFrame() and GifPlaybackFillRect() to corrupt heap memory when loaded with GIF_PLAYBACK.
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.25 | 3.19.25 | Fixed |
| FreeImage | <= 3.18.0 | after 3.18.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| danoli3/freeimage | < 3.19.25 | 3.19.25 |
| 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 vendor-advisory
- Red Hat Bugzilla 2563210 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com product
- github.com technical-description
- github.com patch
- Patch Commit patch
- Pull Request #183 issue-tracking patch
- FreeImage 3.19.25 Release Notes release-notes
- VulnCheck Advisory: FreeImage (danoli3 fork) before 3.19.25 Heap Buffer Overflow via GIF_PLAYBACK Compositing third-party-advisory
- Changelog naming CVE-2026-118752 and CVE-2026-118753 release-notes
- sourceforge.net product
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-112497 third-party-advisory