cve.bz

CVE-2026-106062 Gimp: gimp: heap buffer overflow in dds loader on crafted directdraw surface file

7.8 highEPSS 0.2%Fix available

High (7.8) in red hat. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
A heap-based buffer overflow was found in GIMP’s DirectDraw Surface (DDS) loader. When loading a crafted DDS image, buffer sizes derived from width, height, and pitch can be computed using 32-bit arithmetic that overflows. The allocated buffer is too small for the amount of pixel data written through GEGL, following integer overflow in size calculations. This may allow heap corruption and, in the worst case, arbitrary code execution in the context of the GIMP process.

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.2% (unchanged from 0.2% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 5th 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-10-07. 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-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 9: fixed in 2:3.0.4-4.el9_8.15
  • Red Hat Red Hat Enterprise Linux 9: fixed in 2:3.0.4-8.el9_9.5
  • Debian, Red Hat, SUSE, openSUSE, AlmaLinux: fixed package versions per release

Ask an AI about this CVE

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

  • red hat:red hat enterprise linux 10
  • red hat:red hat enterprise linux 6
  • red hat:red hat enterprise linux 7
  • red hat:red hat enterprise linux 8
  • red hat:red hat enterprise linux 9

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 92:3.0.4-4.el9_8.15
Red Hat Enterprise Linux 92:3.0.4-8.el9_9.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13gimpno fix listedDEBIAN-CVE-2026-106062
Debian14gimp3.2.8-1DEBIAN-CVE-2026-106062
Ubuntu26.04:LTS, 26.10, Pro:16.04:LTS and 4 moregimpno fix listedUBUNTU-CVE-2026-106062
Red Hatenterprise_linux:9::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:3.0.4-4.el9_8.15RHSA-2026:93975
Red Hatenterprise_linux:9::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:3.0.4-8.el9_9.5RHSA-2026:98495
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP7gimp2.10.30-150400.3.85.1SUSE-SU-2026:4895-1
openSUSELeap 16.0gimp3.0.8-bp160.13.1openSUSE-SU-2026:22123-1
AlmaLinux9gimp, gimp-libs2:3.0.4-4.el9_8.15ALSA-2026:93975

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

A heap-based buffer overflow was found in GIMP in the DDS image loader. A local attacker could provide a specially crafted DDS file that, when opened by the victim, causes GIMP to write past the end of a heap-allocated buffer. This could crash GIMP or potentially execute arbitrary code with the privileges of the user running GIMP. The attacker must convince the user to open the malicious file.

Red Hat's mitigation

To mitigate this do not open DDS files from untrusted sources. Exploitation may be harder on hardened systems (Full RELRO/PIE, ASLR, FORTIFY_SOURCE, heap allocator protections) but the vulnerability remains.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9gimp-2:3.0.4-4.el9_8.15Fixed 2026-11-02RHSA-2026:93975
Red Hat Enterprise Linux 10gimpNot affected
Red Hat Enterprise Linux 6gimpOut of support scope
Red Hat Enterprise Linux 7gimpNot affected
Red Hat Enterprise Linux 8gimp:2.8/gimpNot affected

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

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON