Heap buffer overflow in FreeImage GIF loading with GIF_PLAYBACK
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
FreeImage through 3.18.0 and the danoli3 FreeImage fork before 3.19.25 contain a heap buffer overflow in PluginGIF.cpp (CWE-787). A GIF frame whose left plus width exceeds the logical screen width is not clipped, so writes go past the canvas allocation. A local attacker can corrupt heap memory when a user loads a crafted GIF with GIF_PLAYBACK.
Written with Claude Haiku 5.5 from the sources below · 2026-11-03
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Update the danoli3 FreeImage fork to version 3.19.25. The sources list no fixed version for FreeImage.
Written with Claude Haiku 5.5 from the sources below · 2026-11-03
- Fix · CNA FreeImage (danoli3) Fixed in 3.19.25
Vendor assessments
Timeline
- 2026-10-28 Threatist record created from CVE-2026-118753
- 2026-10-29 Alias added: GHSA-wr69-568q-rrqg
- 2026-10-30 Priority changed: MEDIUM → LOW
- 2026-10-30 Affected versions changed · Red Hat
- 2026-10-30 CVSS score added · Red Hat
- 2026-11-02 Title updated · CNA
- 2026-11-02 2 new references · CNA
- 2026-11-03 CISA SSVC decision points changed
References
Patch 3
More danoli3 vulnerabilities
- TI-2026-82221 Heap buffer overflow in FreeImage IFF/LBM PBM decoder CVSS 4.0HIGH 8.5
- TI-2026-74933 Heap out-of-bounds read in FreeImage PICT plugin CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-118753 · CVE Program
- CVE-2026-118753 · NVD
- FIRST EPSS
- GHSA-wr69-568q-rrqg · GitHub Advisory Database · CC BY 4.0
- CVE-2026-118753 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences