CVE-2026-0797

GIMP ICO File Parsing Heap-based Buffer 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 the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28599.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gimp:gimp:3.2.0:rc1:*:*:*:*:*:*

History

24 Feb 2026, 21:43

Type Values Removed Values Added
References () https://gitlab.gnome.org/GNOME/gimp/-/commit/69cc6b1a6645dc9c4d7b484483dbe6a84b922b9c - () https://gitlab.gnome.org/GNOME/gimp/-/commit/69cc6b1a6645dc9c4d7b484483dbe6a84b922b9c - Patch
References () https://www.zerodayinitiative.com/advisories/ZDI-26-050/ - () https://www.zerodayinitiative.com/advisories/ZDI-26-050/ - Third Party Advisory
CWE CWE-787
First Time Gimp gimp
Gimp
CPE cpe:2.3:a:gimp:gimp:3.2.0:rc1:*:*:*:*:*:*
Summary
  • (es) Vulnerabilidad de ejecución remota de código por desbordamiento de búfer basado en montículo en el análisis de archivos ICO 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. La falla específica existe en el análisis de archivos ICO. El problema se debe a la falta de validación adecuada de la longitud de los datos proporcionados por el usuario antes de copiarlos a un búfer basado en montículo. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto del proceso actual. Fue ZDI-CAN-28599.

20 Feb 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-20 22:16

Updated : 2026-02-24 21:43


NVD link : CVE-2026-0797

Mitre link : CVE-2026-0797

CVE.ORG link : CVE-2026-0797


JSON object : View

Products Affected

gimp

  • gimp
CWE
CWE-122

Heap-based Buffer Overflow

CWE-787

Out-of-bounds Write