cve.bz

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

7.8 highEPSS 0.4%Fix available

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

On this page
GIMP TIF 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 TIF 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-29398.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-17. 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.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

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

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12gimpno fix listedDEBIAN-CVE-2026-18302
Debian13gimp3.0.4-3+deb13u10DEBIAN-CVE-2026-18302
Debian14gimp3.2.6-1DEBIAN-CVE-2026-18302
Ubuntu26.04:LTS, 26.10, Pro:16.04:LTS and 4 moregimpno fix listedUBUNTU-CVE-2026-18302
Red Hatenterprise_linux:9::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:3.0.4-4.el9_8.10RHSA-2026:61587
Red Hatrhel_e4s:9.2::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:2.99.8-4.el9_2.7RHSA-2026:93589
Red Hatrhel_e4s:9.4::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:2.99.8-4.el9_4.19RHSA-2026:80509
Red Hatrhel_eus:9.6::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:2.99.8-4.el9_6.20RHSA-2026:73768
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP7gimp2.10.30-150400.3.79.1SUSE-SU-2026:4409-1
openSUSELeap 16.0gimp3.0.8-bp160.10.1openSUSE-SU-2026:21959-1
openSUSETumbleweedgimp3.2.6-1.1openSUSE-SU-2026:11771-1
AlmaLinux9gimp, gimp-libs2:3.0.4-4.el9_8.10ALSA-2026:61587

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; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as an Important severity because opening a maliciously crafted image file can lead to arbitrary code execution with the privileges of the active user session. In Red Hat Enterprise Linux, GIMP is an interactive graphical application typically used in workstation or desktop environments, rather than an automated service or background daemon. Because exploitation requires explicit user interaction to process untrusted files, systems lacking graphical desktop environments or where users do not handle external image assets remain largely insulated from this risk.

Red Hat's mitigation

To mitigate this issue, users should exercise caution and avoid opening TIF image files from untrusted or unknown sources. As a general security practice, only process files from trusted origins.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9gimp-2:3.0.4-4.el9_8.10Fixed 2026-08-31RHSA-2026:61587
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsgimp-2:2.99.8-4.el9_2.7Fixed 2026-11-02RHSA-2026:93589
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsgimp-2:2.99.8-4.el9_4.19Fixed 2026-10-12RHSA-2026:80509
Red Hat Enterprise Linux 9.6 Extended Update Supportgimp-2:2.99.8-4.el9_6.20Fixed 2026-09-30RHSA-2026:73768
Red Hat Enterprise Linux 6gimpOut of support scope
Red Hat Enterprise Linux 7gimpAffected
Red Hat Enterprise Linux 8gimp:2.8/gimpAffected

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

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

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

References

Check your stackJSON