{"id":"CVE-2026-4151","state":"PUBLISHED","title":"GIMP ANI File Parsing Integer Overflow Remote Code Execution Vulnerability","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.\n\nThe 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.","publishedAt":"2026-04-11T00:15:45.368Z","updatedAt":"2026-07-15T00:59:23.636Z","severity":{"score":7.8,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"zdi"},"assigner":"zdi","products":["GIMP GIMP"],"affected":[{"vendor":"GIMP","product":"GIMP","defaultStatus":"unknown","versions":[{"version":"3.0.8","status":"affected"}]}],"references":["https://www.zerodayinitiative.com/advisories/ZDI-26-218/","https://gitlab.gnome.org/GNOME/gimp/-/commit/09e5459de913172fc51da3bd6b6adc533acd368e","https://access.redhat.com/security/cve/CVE-2026-4151","https://bugzilla.redhat.com/show_bug.cgi?id=2457532","https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4151.json","https://access.redhat.com/errata/RHSA-2026:16484","https://access.redhat.com/errata/RHSA-2026:19362"],"weaknesses":["CWE-190"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/4xxx/CVE-2026-4151.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-4151","state":"PUBLISHED","datePublished":"2026-04-11T00:15:45.368Z","dateUpdated":"2026-07-15T00:59:23.636Z","assignerShortName":"zdi","assignerOrgId":"99f1926a-a320-47d8-bbb5-42feb611262e","dateReserved":"2026-03-13T20:32:33.728Z"},"containers":{"cna":{"title":"GIMP ANI File Parsing Integer Overflow Remote Code Execution Vulnerability","descriptions":[{"lang":"en","value":"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.\n\nThe 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":[{"vendor":"GIMP","product":"GIMP","defaultStatus":"unknown","versions":[{"version":"3.0.8","status":"affected"}]}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-26-218/","name":"ZDI-26-218","tags":["x_research-advisory"]},{"url":"https://gitlab.gnome.org/GNOME/gimp/-/commit/09e5459de913172fc51da3bd6b6adc533acd368e","name":"vendor-provided URL","tags":["vendor-advisory"]}],"metrics":[{"format":"CVSS","cvssV3_0":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","lang":"en","description":"CWE-190: Integer Overflow or Wraparound","type":"CWE"}]}],"providerMetadata":{"shortName":"zdi","orgId":"99f1926a-a320-47d8-bbb5-42feb611262e","dateUpdated":"2026-04-11T00:15:45.368Z"},"dateAssigned":"2026-03-13T20:32:33.759Z","datePublic":"2026-03-19T20:51:31.341Z","source":{"lang":"en","value":"Anonymous"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-13T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-4151"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-14T03:55:50.232Z"}},{"title":"gimp: GIMP: Remote Code Execution via ANI File Parsing Integer Overflow","descriptions":[{"lang":"en","value":"A flaw was found in GIMP. Remote attackers can exploit this vulnerability by tricking a user into opening a specially crafted ANI (Animated Cursor) file or visiting a malicious web page. This issue stems from an integer overflow during the parsing of ANI files, caused by insufficient validation of user-supplied data before memory allocation. Successful exploitation could allow an attacker to execute arbitrary code on the affected system with the privileges of the current user."}],"affected":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","packageName":"gimp","defaultStatus":"affected","versions":[{"version":"2:3.0.4-1.el9_7.5","status":"unaffected","lessThan":"*","versionType":"rpm"},{"version":"2:3.0.4-4.el9_8.4","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:enterprise_linux:9"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","packageName":"gimp","defaultStatus":"unknown","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:6"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","packageName":"gimp","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:7"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","packageName":"gimp:2.8/gimp","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:8"]}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-4151","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2457532","name":"RHBZ#2457532","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4151.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:16484","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19362","tags":["vendor-advisory","x_refsource_REDHAT"]}],"metrics":[{"other":{"content":{"namespace":"https://access.redhat.com/security/updates/classification/","value":"Important"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","description":"Integer Overflow or Wraparound","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat-SADP","orgId":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","dateUpdated":"2026-07-15T00:59:23.636Z"},"datePublic":"2026-04-11T00:15:45.368Z","solutions":[{"lang":"en","value":"RHSA-2026:16484: Red Hat Enterprise Linux AppStream (v. 9)"},{"lang":"en","value":"RHSA-2026:19362: Red Hat Enterprise Linux AppStream (v. 9)"}],"timeline":[{"lang":"en","time":"2026-04-11T01:01:06.466Z","value":"Reported to Red Hat."},{"lang":"en","time":"2026-04-11T00:15:45.368Z","value":"Made public."}],"workarounds":[{"lang":"en","value":"To mitigate this issue, users should exercise caution and avoid opening untrusted ANI (Animated Cursor) files or visiting untrusted web pages. This vulnerability relies on user interaction to trigger the flaw, therefore, refraining from interacting with untrusted content will prevent exploitation."}],"x_adpType":"supplier","x_generator":{"engine":"sadp-cli 1.0.0"}}]}}}