High severity7.8NVD Advisory· Published Apr 11, 2026· Updated Jul 15, 2026
CVE-2026-4151
CVE-2026-4151
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
5- osv-coords3 versionspkg:rpm/almalinux/gimppkg:rpm/almalinux/gimp-libspkg:rpm/opensuse/gimp&distro=openSUSE%20Leap%2016.0
< 2:3.0.4-1.el9_7.5+ 2 more
- (no CPE)range: < 2:3.0.4-1.el9_7.5
- (no CPE)range: < 2:3.0.4-1.el9_7.5
- (no CPE)range: < 3.0.8-bp160.3.1
Patches
Vulnerability mechanics
References
7- gitlab.gnome.org/GNOME/gimp/-/commit/09e5459de913172fc51da3bd6b6adc533acd368envdPatch
- www.zerodayinitiative.com/advisories/ZDI-26-218/nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2026:16484nvd
- access.redhat.com/errata/RHSA-2026:19362nvd
- access.redhat.com/security/cve/CVE-2026-4151nvd
- bugzilla.redhat.com/show_bug.cginvd
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4151.jsonnvd
News mentions
1- ZDI-26-218: GIMP ANI File Parsing Integer Overflow Remote Code Execution VulnerabilityZero Day Initiative · Mar 19, 2026