CVE-2025-14422
GIMP PNM File Parsing Integer Overflow Remote Code Execution Vulnerability
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.
INFO
Published Date :
Dec. 23, 2025, 10:15 p.m.
Last Modified :
Oct. 19, 2026, 10:10 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.0 | HIGH | 99f1926a-a320-47d8-bbb5-42feb611262e | ||||
| CVSS 3.0 | HIGH | [email protected] | ||||
| CVSS 3.0 | HIGH | MITRE-CVE |
Solution
- Update GIMP to the latest version.
- Avoid opening untrusted PNM files.
- Apply vendor security patches when available.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-14422.
| URL | Resource |
|---|---|
| https://gitlab.gnome.org/GNOME/gimp/-/commit/4ff2d773d58064e6130495de498e440f4a6d5edb | Patch |
| https://www.zerodayinitiative.com/advisories/ZDI-25-1136/ | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-14422 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-14422
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-14422 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-14422 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 19, 2026
Action Type Old Value New Value Added Translation Title: GIMP, Description: 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. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'GIMP', 'product': 'GIMP', 'versions': [{'status': 'affected', 'version': '3.0.6'}], 'defaultStatus': 'unknown'}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-14422', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-01-01T04:55:23.194030Z'} -
Initial Analysis by [email protected]
Jan. 20, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:gimp:gimp:3.0.6:*:*:*:*:*:*:* Added Reference Type Zero Day Initiative: https://gitlab.gnome.org/GNOME/gimp/-/commit/4ff2d773d58064e6130495de498e440f4a6d5edb Types: Patch Added Reference Type Zero Day Initiative: https://www.zerodayinitiative.com/advisories/ZDI-25-1136/ Types: Third Party Advisory -
New CVE Received by [email protected]
Dec. 23, 2025
Action Type Old Value New Value Added 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. Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Added CWE CWE-190 Added Reference https://gitlab.gnome.org/GNOME/gimp/-/commit/4ff2d773d58064e6130495de498e440f4a6d5edb Added Reference https://www.zerodayinitiative.com/advisories/ZDI-25-1136/