7.8high
GIMP ICO File Parsing Integer Overflow Remote Code Execution Vulnerability
- Severity
- 7.8high CVSS:3.0 by zdi
- Exploit likelihood
- 25.2% (higher than 97% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- zdi
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GIMP GIMP | 3.0.2, before 3.0.4 | CVE List, NVD |
All scores
| zdi | 7.8high CVSS:3.0 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Vulnerabilidad de ejecución remota de código por desbordamiento de enteros en el análisis de archivos ICO de GIMP. Esta vulnerabilidad permite a atacantes remotos ejecutar código arbitrario en las instalaciones afectadas de GIMP. Para explotar esta vulnerabilidad, se requiere la interacción del usuario, ya que el objetivo debe visitar una página maliciosa o abrir un archivo malicioso. La falla específica se encuentra en el análisis de archivos ICO. El problema se debe a la falta de una validación adecuada de los datos proporcionados por el usuario, lo que puede provocar un desbordamiento de enteros antes de escribir en memoria. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto del proceso actual. Era ZDI-CAN-26752.
References
| https://www.zerodayinitiative.com/advisories/ZDI-25-321/ | third-party-advisory | |
| https://www.gimp.org/news/2025/05/18/gimp-3-0-4-released/#general-bugfixes | release-notes, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00022.html | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-5473 changed 2025-11-03 | CVE Terms of Use |
| NVD | CVE-2025-5473 changed 2026-06-17 | Public domain |