Skip to content
Fencer Vulns
high 7.8

CVE-2026-4151 json

GIMP ANI File Parsing Integer Overflow Remote Code Execution Vulnerability

published 2026-04-11 6 mo ago modified 2026-07-15 3 mo ago also EUVD-2026-21631

cvss
7.8
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 53%
public exploits
0
none known

Summary

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.

Patch / fix

  • Red Hat Red Hat Enterprise Linux 9 2:3.0.4-1.el9_7.5, 2:3.0.4-4.el9_8.4
  • gimp Debian 13 3.0.4-3+deb13u8
  • gimp Debian 14 3.2.0-1

debian advisories DEBIAN-CVE-2026-4151

  • gimp RHEL 9 2:3.0.4-4.el9_8.4
  • gimp-libs RHEL 9 2:3.0.4-4.el9_8.4
  • gimp RHEL 9 2:3.0.4-1.el9_7.5
  • gimp-libs RHEL 9 2:3.0.4-1.el9_7.5

red hat advisories RHSA-2026:19362RHSA-2026:16484

  • gimp openSUSE Leap 16.0 3.0.8-bp160.3.1

opensuse advisories openSUSE-SU-2026:20428-1

  • gimp AlmaLinux 9 2:3.0.4-4.el9_8.4
  • gimp-libs AlmaLinux 9 2:3.0.4-4.el9_8.4
  • gimp AlmaLinux 9 2:3.0.4-1.el9_7.5
  • gimp-libs AlmaLinux 9 2:3.0.4-1.el9_7.5

almalinux advisories ALSA-2026:19362ALSA-2026:16484

  • gimp Rocky Linux 9 2:3.0.4-1.el9_7.5

rocky linux advisories RLSA-2026:16484

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-4151 updated cvss 7.8

gimp: GIMP: Remote Code Execution via ANI File Parsing Integer Overflow

  • Red Hat Enterprise Linux 6 gimp, gimp-libs, gimp-devel-tools, gimp-help-browser
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 9) gimp 3.0.4-1.el9_7.5, gimp 3.0.4-4.el9_8.4, gimp-libs 3.0.4-1.el9_7.5, gimp-libs 3.0.4-4.el9_8.4
    fixed: vendor fix RHSA-2026:16484
  • Red Hat Enterprise Linux 7 gimp, gimp-libs, gimp-devel-tools Red Hat Enterprise Linux 8 gimp, pygtk2, gimp-libs, pygobject2, python2-cairo, pygtk2-codegen, +3 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
6 mo ago

Exploit prediction

0.69% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.0 7.8 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CISA ADP 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

  • GIMP GIMP
  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat Enterprise Linux 6
  • Red Hat Red Hat Enterprise Linux 7
  • Red Hat Red Hat Enterprise Linux 8

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.