cve.bz

CVE-2026-2049 gimp gimp: Heap-based Buffer Overflow

7.8 highEPSS 0.6%

High (7.8) in gimp gimp. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
GIMP HDR 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 HDR 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-28618.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-06-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-122 Heap-based Buffer Overflow
CWE-131 Incorrect Calculation of Buffer Size
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-2049 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-2049?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-2049?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-2049 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
GIMP3.2.0-RC1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11gegl1:0.4.26-2+deb11u2DLA-4487-1
Debian12gegl1:0.4.42-2+deb12u2DEBIAN-CVE-2026-2049 DSA-6142-1
Debian13gegl1:0.4.62-2+deb13u2DEBIAN-CVE-2026-2049 DSA-6142-1
Debian14gegl1:0.4.66-1DEBIAN-CVE-2026-2049
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 3 moregeglno fix listedUBUNTU-CVE-2026-2049
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP7gegl0.4.46-150600.4.8.2SUSE-SU-2026:1481-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5gegl0.2.0-15.14.2SUSE-SU-2026:1479-1
SUSELinux Enterprise Workstation Extension 15 SP7gegl0.3.34-150000.3.9.1SUSE-SU-2026:1496-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important vulnerability in GIMP, as a heap-based buffer overflow in the HDR file parsing component can lead to remote code execution. While exploitation requires user interaction, specifically opening a malicious HDR file, successful attacks could allow an attacker to execute arbitrary code within the context of the affected user. This risk is primarily present on desktop systems where GIMP is installed and used to process untrusted image files.

Red Hat's mitigation

To mitigate this issue, users should avoid opening HDR files from untrusted or suspicious sources. If GIMP is not required, consider removing the `gimp` package to eliminate the attack surface. This can be achieved with `sudo dnf remove gimp`. Be aware that removing GIMP may impact other dependent graphical applications.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6gimpOut of support scope
Red Hat Enterprise Linux 7gimpAffected
Red Hat Enterprise Linux 8gimpAffected
Red Hat Enterprise Linux 9gimpAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-2049.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High
  • CAPEC-47 Buffer Overflow via Parameter Expansion Likelihood: Medium · Severity: High
  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON