CVE Catalog

CVE-2026-118753

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

3th percentile - higher than 3% of all known CVEs

Summary

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.

Risk Assessment

A malicious GIF processed in GIF_PLAYBACK mode may cause memory corruption and potential code execution in the application context. Risk affects systems using FreeImage to process untrusted GIF images.

Recommendation

Update FreeImage to version 3.19.25 (danoli3 fork) or later containing the fix. Until updated, avoid processing untrusted GIF files in GIF_PLAYBACK mode.

Other vulnerabilities in FreeImage

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS