CVE-2025-5473
JSON

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 packageVersionsReported by
GIMP GIMP3.0.2, before 3.0.4CVE List, NVD

All scores

zdi7.8high CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-190

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

Sources

SourceRecordLicence
CVE ListCVE-2025-5473 changed 2025-11-03CVE Terms of Use
NVDCVE-2025-5473 changed 2026-06-17Public domain