Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2026-2049
GIMP vulnerability analysis and mitigation

Overview

CVE-2026-2049 is a heap-based buffer overflow vulnerability in GIMP's HDR file parsing functionality that allows remote attackers to execute arbitrary code on affected installations. The flaw was reported to the vendor on December 24, 2025, and publicly disclosed on March 16, 2026, via the Zero Day Initiative advisory ZDI-26-214. It affects GIMP version 3.2.0-RC1, with the underlying flaw residing in the GEGL image processing library. The vulnerability carries a CVSS v3.0 base score of 7.8 (High) (ZDI Advisory, Github Advisory).

Technical details

The root cause is classified as CWE-122 (Heap-based Buffer Overflow): the HDR file parser in GEGL fails to validate the length of user-supplied data before copying it into a heap-allocated buffer, enabling an attacker to overwrite adjacent heap memory. Exploitation requires local access in the sense that the attack vector is local (the file must be opened by the target), but the attacker can deliver the malicious HDR file remotely — for example, via a malicious web page or email attachment — requiring only that the user open the crafted file. The vulnerability was tracked internally as ZDI-CAN-28618, and additional technical details are referenced in the upstream GEGL issue tracker (ZDI Advisory, Github Advisory).

Impact

Successful exploitation allows an attacker to execute arbitrary code in the context of the GIMP process, inheriting the privileges of the user running the application. This results in high confidentiality, integrity, and availability impact — an attacker could read sensitive files accessible to the user, modify or delete data, and crash the application. While the scope is limited to the current user process, the compromise could serve as a foothold for further lateral movement on multi-user systems (ZDI Advisory, Github Advisory).

Exploitability

A proof-of-concept exploit reference is available through the Zero Day Initiative advisory (ZDI-26-214), published March 16, 2026. There is no current evidence of active in-the-wild exploitation, and the NVD SSVC assessment confirms exploitation status as "none" at this time. The EPSS score is approximately 0.548% (42nd percentile), indicating a relatively low but non-negligible probability of exploitation within 30 days. No threat actor attribution has been reported, and the vulnerability is not listed in the CISA KEV catalog (ZDI Advisory, Github Advisory).

Exploitation steps

  1. Craft a malicious HDR file: Create a specially crafted HDR image file with a header or data field containing an oversized payload designed to overflow the heap buffer during GEGL's HDR parsing routine.
  2. Deliver the file to the target: Host the malicious HDR file on a web page, send it via email, or distribute it through any file-sharing mechanism to trick the target user into opening it with GIMP.
  3. Trigger the vulnerability: When the target opens the malicious HDR file in GIMP, the HDR parser in GEGL copies the oversized user-supplied data into a fixed-size heap buffer without length validation, causing a heap overflow.
  4. Overwrite heap metadata or function pointers: The overflow corrupts adjacent heap memory, potentially overwriting heap management structures or function pointers to redirect execution flow.
  5. Achieve arbitrary code execution: The attacker's shellcode or ROP chain executes in the context of the GIMP process, with the privileges of the user who opened the file, enabling data exfiltration, backdoor installation, or further system compromise (ZDI Advisory).

Indicators of compromise

  • File System: Unexpected or newly created HDR files in user download directories, temporary folders, or email attachment staging areas; presence of web shells or unexpected executables created by the GIMP process.
  • Process: Unusual child processes spawned by the GIMP process (e.g., /bin/sh, bash, curl, wget, python) immediately after opening an HDR file; GIMP process crashing or producing core dumps.
  • Network: Outbound connections from the GIMP process or its child processes to unknown external IP addresses following the opening of an HDR file.
  • Logs: Application crash logs or core dumps referencing GEGL HDR parsing routines; system logs showing unexpected process creation events originating from the GIMP user session.

Mitigation and workarounds

GIMP has issued a patch addressing this vulnerability, with details referenced in the GEGL upstream issue tracker (https://gitlab.gnome.org/GNOME/gegl/-/issues/450). Downstream Linux distributions including Debian, Mageia, Amazon Linux 2, and SUSE have released updated packages for the GEGL library. Users should update GIMP and the underlying GEGL library to the patched versions provided by their distribution. As an interim workaround, users should avoid opening HDR files from untrusted sources, and administrators may consider restricting or disabling HDR file handling if not required (ZDI Advisory, Github Advisory).

Community reactions

Heise (a German technology publication) covered the vulnerability in an article titled "Gimp Update closes code smuggling vulnerabilities," indicating mainstream tech media attention. Social media activity was noted on Mastodon via @thehackerwire. Linux security community sites including LinuxSecurity.com and LinuxCompatible.org tracked the downstream distribution patches across Debian, Mageia, and SUSE. Overall community reaction has been measured, consistent with the moderate EPSS score and absence of active exploitation.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

gegl: 1:0.4.42-2+deb12u2

Fixed

sid

gegl: 1:0.4.66-1

Fixed

trixie

gegl: 1:0.4.62-2+deb13u2

Fixed

Ubuntu

Unknown

bionic (esm-apps)

gegl

Unknown

devel

gegl

Not Affected

focal (esm-apps)

gegl

Unknown

jammy

gegl

Unknown

jammy (esm-apps)

gegl

Unknown

noble

gegl

Unknown

noble (esm-apps)

gegl

Unknown

resolute

gegl

Not Affected

RHEL / CentOS

Unknown

SourceThis report was generated using AI

Related GIMP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-82343MEDIUM6.1
  • NixOS logoNixOS
  • gimp:2.8::gimp.src
NoYesAug 28, 2026
CVE-2026-82330MEDIUM6.1
  • NixOS logoNixOS
  • gimp-libs
NoYesAug 28, 2026
CVE-2026-82328MEDIUM6.1
  • NixOS logoNixOS
  • gimp:2.8::gimp.src
NoYesAug 28, 2026
CVE-2026-82324MEDIUM6.1
  • NixOS logoNixOS
  • gimp
NoYesAug 28, 2026
CVE-2026-79902MEDIUM5.5
  • NixOS logoNixOS
  • gimp-devel
NoYesAug 26, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management