High severity · published Jun 6, 2025
CVE-2025-5473
GIMP ICO File Parsing Integer Overflow Remote Code Execution Vulnerability
8.8
CVSS
23.5%
EPSS
No
On KEV
Description
GIMP ICO 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 ICO files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-26752.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)23.5% · higher than 98% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GI
Gimp · Gimp
before 3.0.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-5473
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-5473
Release Notes
https://www.gimp.org/news/2025/05/18/gimp-3-0-4-released/#general-bugfixes
Third Party Advisory
https://www.zerodayinitiative.com/advisories/ZDI-25-321/
lists.debian.org
https://lists.debian.org/debian-lts-announce/2025/10/msg00022.html
More from Gimp
9.9
CVE-2026-59090
Gimp: gimp: arbitrary code execution in psd plugin due to unsigned underflow
9.1
CVE-2018-12713
GIMP through 2.10.2 makes g_get_tmp_dir calls to establish temporary filenames, which may result in a filename that already exists, as demonstrated by the gimp_write_and_read_file…
8.8
CVE-2026-2044
GIMP PGM File Parsing Uninitialized Memory Remote Code Execution Vulnerability
8.8
CVE-2026-0797
GIMP ICO File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
7.8
CVE-2026-92183
GIMP APNG File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
