Heap-based Buffer Overflow Affecting gimp package, versions <2.10.34-1+deb12u9


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
1.16% (64th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-GIMP-18353464
  • published28 Jul 2026
  • disclosed20 Feb 2026

Introduced: 20 Feb 2026

CVE-2026-0797  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Echo:latest gimp to version 2.10.34-1+deb12u9 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gimp package and not the gimp package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1