Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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