cve.bz

CVE-2026-2050 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-28266.

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-08-21. 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
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-2050 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-2050?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-2050?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-2050 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 NVD's CPE matches.

ProductAffected
gimp:gimp3.0.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11gegl1:0.4.26-2+deb11u2DLA-4487-1
Debian12gegl1:0.4.42-2+deb12u2DEBIAN-CVE-2026-2050 DSA-6142-1
Debian13gegl1:0.4.62-2+deb13u2DEBIAN-CVE-2026-2050 DSA-6142-1
Debian14gegl1:0.4.66-1DEBIAN-CVE-2026-2050
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 3 moregeglno fix listedUBUNTU-CVE-2026-2050
Red Hatenterprise_linux:8::appstreamgegl, gegl-debuginfo, gegl-debugsource0:0.2.0-40.el8_10RHSA-2026:38485
Red Hatenterprise_linux:9::appstreamgegl04, gegl04-tools, gegl04-debuginfo and 3 more0:0.4.62-1.el9_8.1RHSA-2026:38497
Red Hatenterprise_linux:9::crbgegl04-devel, gegl04-debuginfo, gegl04-debugsource and 1 more0:0.4.62-1.el9_8.1RHSA-2026:38497
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamgegl0:0.2.0-39.el8_4.1RHSA-2026:64801
Red Hatrhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstreamgegl0:0.2.0-39.el8_6.1RHSA-2026:64803
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamgegl0:0.2.0-39.el8_8.1RHSA-2026:64802
Red Hatrhel_e4s:9.2::appstreamgegl04, gegl04-tools, gegl04-debuginfo and 3 more0:0.4.34-2.el9_2.1RHSA-2026:56982
Red Hatrhel_e4s:9.4::appstreamgegl04, gegl04-tools, gegl04-debuginfo and 3 more0:0.4.34-3.el9_4.1RHSA-2026:56964
Red Hatrhel_eus:9.6::appstreamgegl04, gegl04-tools, gegl04-debuginfo and 3 more0:0.4.34-3.el9_6.1RHSA-2026:56963
Red Hatrhel_eus:9.6::crbgegl04-devel, gegl04-debuginfo, gegl04-debugsource and 1 more0:0.4.34-3.el9_6.1RHSA-2026:56963
AlmaLinux8gegl0.2.0-40.el8_10ALSA-2026:38485
AlmaLinux9gegl04, gegl04-devel, gegl04-tools and 1 more0.4.62-1.el9_8.1ALSA-2026:38497
Rocky Linux8gegl0:0.2.0-40.el8_10RLSA-2026:38485
Rocky Linux9gegl040:0.4.62-1.el9_8.1RLSA-2026:38497

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important vulnerability in GIMP allows for arbitrary code execution through a heap-based buffer overflow during HDR file parsing. Successful exploitation requires user interaction, where an attacker must persuade a user to open a malicious file. This prerequisite reduces the immediate threat compared to remote, unauthenticated flaws, but the potential for system compromise warrants an Important rating.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8gegl-0:0.2.0-40.el8_10Fixed 2026-07-13RHSA-2026:38485
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportgegl-0:0.2.0-39.el8_4.1Fixed 2026-09-08RHSA-2026:64801
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Ongegl-0:0.2.0-39.el8_4.1Fixed 2026-09-08RHSA-2026:64801
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportgegl-0:0.2.0-39.el8_6.1Fixed 2026-09-08RHSA-2026:64803
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Ongegl-0:0.2.0-39.el8_6.1Fixed 2026-09-08RHSA-2026:64803
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicegegl-0:0.2.0-39.el8_8.1Fixed 2026-09-08RHSA-2026:64802
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsgegl-0:0.2.0-39.el8_8.1Fixed 2026-09-08RHSA-2026:64802
Red Hat Enterprise Linux 9gegl04-0:0.4.62-1.el9_8.1Fixed 2026-07-13RHSA-2026:38497
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsgegl04-0:0.4.34-2.el9_2.1Fixed 2026-08-19RHSA-2026:56982
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsgegl04-0:0.4.34-3.el9_4.1Fixed 2026-08-19RHSA-2026:56964
Red Hat Enterprise Linux 9.6 Extended Update Supportgegl04-0:0.4.34-3.el9_6.1Fixed 2026-08-19RHSA-2026:56963
Red Hat Enterprise Linux 6geglOut of support scope
Red Hat Enterprise Linux 7geglOut of support scope

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-2050.

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