Skip to content
OpenAdvisories
High · 7.8 CVE-2026-4151 EUVD-2026-21631

GIMP ANI File Parsing Integer Overflow Remote Code Execution Vulnerability

Published Apr 11, 2026 · Updated Jul 15, 2026 · Assigned by zdi

Description

GIMP ANI File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of ANI files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28813.

Affected products

VendorProductAffectedFixed
GIMP GIMP 3.0.8 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gimp 3.2.0-1 —
Debian 13 gimp 3.0.4-3+deb13u8 —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 gimp No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS gimp No fix yet —
Ubuntu Pro 22.04 LTS gimp No fix yet —
Ubuntu Pro 20.04 LTS gimp No fix yet —
Ubuntu Pro 18.04 LTS gimp No fix yet —
Ubuntu Pro 16.04 LTS gimp No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 gimp +1 2:3.0.4-1.el9_7.5 RHSA-2026:19362, RHSA-2026:16484

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 gimp +1 2:3.0.4-1.el9_7.5 ALSA-2026:19362, ALSA-2026:16484

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 gimp 2:3.0.4-1.el9_7.5 RLSA-2026:16484
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 gimp 3.0.8-bp160.3.1 openSUSE-SU-2026:20428-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 gimp +1 2:3.0.4-1.el9_7.5 ELSA-2026-19362, ELSA-2026-16484

Advisories 9

References