Integer overflow in Gimp
CVE-2025-5473
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.252, 98.0th percentile (scored ); up from 0.235 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.235 · newest: 0.252 · change: +0.018
Affected products
- Gimp — versions 3.0.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (fkie-cad/nvd-json-data-feeds, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- ZDI-25-321 (x_research-advisory, Third Party Advisory)
- vendor-provided URL (vendor-advisory, Release Notes)
- lists.debian.org/debian-lts-announce/2025/10/msg00022.html