CVE-2025-14422
JSON

7.8high

GIMP PNM File Parsing Integer Overflow Remote Code Execution Vulnerability

Severity
7.8high CVSS:3.0 by zdi
Exploit likelihood
0.68% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
zdi

Description

GIMP PNM 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 PNM 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-28273.

Affected

Product or packageVersionsReported by
GIMP GIMP3.0.6CVE List, NVD

Classification

CWE-190

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

GIMP PNM 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 PNM 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-28273.

NVD (es)

Vulnerabilidad de desbordamiento de entero y ejecución remota de código (RCE) en el análisis de archivos PNM de GIMP. Esta vulnerabilidad permite a atacantes remotos ejecutar código arbitrario en instalaciones afectadas de GIMP. Se requiere interacción del usuario para explotar esta vulnerabilidad, ya que el objetivo debe visitar una página maliciosa o abrir un archivo malicioso.\n\nEl defecto específico existe dentro del análisis de archivos PNM. El problema se debe a la falta de validación adecuada de los datos suministrados por el usuario, lo que puede provocar un desbordamiento de entero antes de asignar un búfer. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto del proceso actual. Fue ZDI-CAN-28273.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-14422 changed 2026-02-26CVE Terms of Use
NVDCVE-2025-14422 changed 2026-10-19Public domain