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
Affects freeimageSource GCVE Database
Not known to be exploited · CVSS 8.5 High.
Data as of 5 Nov 2026, 12:35 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10freeimagepkg:deb/ubuntu/freeimage?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSfreeimagepkg:deb/ubuntu/freeimage?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSfreeimagepkg:deb/ubuntu/freeimage?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSfreeimagepkg:deb/ubuntu/freeimage?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSfreeimagepkg:deb/ubuntu/freeimage?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSfreeimagepkg:deb/ubuntu/freeimage?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-118753 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-118753 (opens in a new tab)
- github.com/danoli3/FreeImage (opens in a new tab)
- github.com/danoli3/FreeImage/blob/3.19.24/Source/FreeImage/PluginGIF.cpp (opens in a new tab)
- github.com/danoli3/FreeImage/commit/0da5ddb4d311e5222251348cca1aa988478b1034 (opens in a new tab)
- github.com/danoli3/FreeImage/commit/96f4099f8e307484ba69b4aa14d772b7679a1bfb (opens in a new tab)
- github.com/danoli3/FreeImage/pull/183 (opens in a new tab)
- github.com/danoli3/FreeImage/releases/tag/3.19.25 (opens in a new tab)
- vulncheck.com/advisories/freeimage-danoli3-fork-before-3.19.25-heap-buffer-overflow-via-gif-playback-compositing (opens in a new tab)