CVE-2026-118753
7.8 HIGHpublic exploit availablePublished 2026-10-28 · Updated 2026-11-03
AI risk analysis
- Summary
- A heap buffer overflow in FreeImage's GIF plugin (PluginGIF.cpp) allows attackers to write past allocated canvas memory when processing crafted GIF frames whose dimensions exceed the logical screen size, leading to memory corruption and potential code execution.
- Exploitability
- Exploitation requires user interaction to open a malicious GIF file using FreeImage with GIF_PLAYBACK enabled; local access is sufficient due to the CVSS vector AV:L.
- Blast radius
- Successful exploitation could lead to full compromise of the affected application or system via arbitrary code execution, especially in environments where FreeImage processes untrusted images (e.g., web services, image viewers).
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to FreeImage version 3.19.25 or later, or apply the official patch for the danoli3 fork if using that variant.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-787
Public exploit & PoC references
- https://github.com/danoli3/FreeImage
- https://github.com/danoli3/FreeImage/blob/3.19.24/Source/FreeImage/PluginGIF.cpp#L719-L772
- https://github.com/danoli3/FreeImage/commit/0da5ddb4d311e5222251348cca1aa988478b1034
- https://github.com/danoli3/FreeImage/commit/96f4099f8e307484ba69b4aa14d772b7679a1bfb
- https://github.com/danoli3/FreeImage/pull/183
- https://github.com/danoli3/FreeImage/pull/244
- https://github.com/danoli3/FreeImage/releases/tag/3.19.25
All references
- https://github.com/danoli3/FreeImage
- https://github.com/danoli3/FreeImage/blob/3.19.24/Source/FreeImage/PluginGIF.cpp#L719-L772
- https://github.com/danoli3/FreeImage/commit/0da5ddb4d311e5222251348cca1aa988478b1034
- https://github.com/danoli3/FreeImage/commit/96f4099f8e307484ba69b4aa14d772b7679a1bfb
- https://github.com/danoli3/FreeImage/pull/183
- https://github.com/danoli3/FreeImage/pull/244
- https://github.com/danoli3/FreeImage/releases/tag/3.19.25
- https://sourceforge.net/projects/freeimage/
- https://www.vulncheck.com/advisories/freeimage-danoli3-fork-before-3.19.25-heap-buffer-overflow-via-gif-playback-compositing
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-63638PoC
- HIGHCVE-2026-104065PoC
- HIGHCVE-2026-106110PoC
- HIGHCVE-2026-106112PoC
- HIGHCVE-2026-106117PoC
- HIGHCVE-2026-119373PoC
- HIGHCVE-2026-119374PoC
- HIGHCVE-2026-119379PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.