cve.bz

CVE-2025-10934 Heap-based Buffer Overflow

7.8 highEPSS 0.6%Fix available

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

On this page
GIMP XWD 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 XWD 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-27823.

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.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-21. 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 2025-10-30. 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-2025-10934 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-10934?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-10934?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-2025-10934 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.4
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11gimp2.10.22-4+deb11u4DLA-4362-1
Debian12gimp2.10.34-1+deb12u5DEBIAN-CVE-2025-10934 DSA-6049-1
Debian13gimp3.0.4-3+deb13u2DEBIAN-CVE-2025-10934 DSA-6049-1
Debian14gimp3.0.4-6.2DEBIAN-CVE-2025-10934
Ubuntu25.10gimpno fix listedUBUNTU-CVE-2025-10934
UbuntuPro:16.04:LTSgimp2.8.16-1ubuntu1.1+esm2UBUNTU-CVE-2025-10934
UbuntuPro:18.04:LTSgimp2.8.22-1ubuntu0.1~esm2UBUNTU-CVE-2025-10934
UbuntuPro:20.04:LTSgimp2.10.18-1ubuntu0.1+esm2UBUNTU-CVE-2025-10934
UbuntuPro:22.04:LTSgimp2.10.30-1ubuntu0.1+esm2UBUNTU-CVE-2025-10934
UbuntuPro:24.04:LTSgimp2.10.36-3ubuntu0.24.04.1+esm2UBUNTU-CVE-2025-10934
Red Hatenterprise_linux:8::appstreamgimp, gimp-libs, gimp-devel and 5 more2:2.8.22-26.module+el8.10.0+23719+f0b80de8.3RHSA-2025:22417
Red Hatenterprise_linux:8::appstreampygobject2, pygobject2-doc, pygobject2-devel and 3 more0:2.28.7-5.module+el8.10.0+22676+becd68d6RHSA-2025:22417
Red Hatenterprise_linux:8::appstreampygtk2, pygtk2-doc, pygtk2-devel and 3 more0:2.24.0-25.module+el8.9.0+21228+8e80d31dRHSA-2025:22417
Red Hatenterprise_linux:8::appstreampython2-cairo, python2-pycairo, python2-cairo-devel and 2 more0:1.16.3-7.module+el8.10.0+22676+becd68d6RHSA-2025:22417
Red Hatenterprise_linux:9::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:3.0.4-1.el9_7.1RHSA-2025:21968
Red Hatrhel_aus:8.2::appstreamgimp, gimp-libs, gimp-devel and 5 more2:2.8.22-16.module+el8.2.0+23816+447169fa.5RHSA-2026:0250
Red Hatrhel_aus:8.2::appstreampygobject2, pygobject2-doc, pygobject2-devel and 3 more0:2.28.7-4.module+el8+2760+3d7d61b2RHSA-2026:0250
Red Hatrhel_aus:8.2::appstreampygtk2, pygtk2-doc, pygtk2-devel and 3 more0:2.24.0-24.module+el8+2760+3d7d61b2RHSA-2026:0250
Red Hatrhel_aus:8.2::appstreampython2-cairo, python2-pycairo, python2-cairo-devel and 2 more0:1.16.3-6.module+el8+2760+3d7d61b2RHSA-2026:0250
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamgimp, gimp-libs, gimp-devel and 5 more2:2.8.22-16.module+el8.4.0+23749+fbc78163.3RHSA-2025:23857
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreampygobject2, pygobject2-doc, pygobject2-devel and 3 more0:2.28.7-4.module+el8+2760+3d7d61b2RHSA-2025:23857
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreampygtk2, pygtk2-doc, pygtk2-devel and 3 more0:2.24.0-25.module+el8.4.0+9382+ff08b506RHSA-2025:23857
14 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP6 and 1 moregimp2.10.30-150400.3.29.1SUSE-SU-2025:4137-1
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP7gimp2.10.30-150400.3.47.1SUSE-SU-2026:0684-1
openSUSELeap 15.6gimp2.10.30-150400.3.29.1SUSE-SU-2025:4137-1
openSUSELeap 15.6gimp2.10.30-150400.3.47.1SUSE-SU-2026:0684-1
AlmaLinux8gimp, gimp-libs, gimp-devel and 1 more2:2.8.22-26.module_el8.10.0+4070+64105a56.3ALSA-2025:22417
AlmaLinux8pygobject2, pygobject2-doc, pygobject2-devel and 1 more2.28.7-5.module_el8.10.0+3952+571e801cALSA-2025:22417
AlmaLinux8pygtk2, pygtk2-doc, pygtk2-devel and 1 more2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2025:22417
AlmaLinux8python2-cairo, python2-cairo-devel1.16.3-7.module_el8.10.0+3952+571e801cALSA-2025:22417
AlmaLinux9gimp, gimp-libs2:3.0.4-1.el9_7.1ALSA-2025:21968
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+1927+52edb5a0RLSA-2025:22417
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+1998+a08ccc48.2RLSA-2025:22417
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40033+6fd27379.3RLSA-2025:22417
Rocky Linux8pygobject20:2.28.7-5.module+el8.10.0+1927+52edb5a0RLSA-2025:22417
Rocky Linux8pygtk20:2.24.0-25.module+el8.9.0+1723+9bc93544RLSA-2025:22417
Rocky Linux8python2-pycairo0:1.16.3-7.module+el8.10.0+1927+52edb5a0RLSA-2025:22417
Rocky Linux9gimp2:3.0.4-1.el9_7.1RLSA-2025:21968

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; Rocky Linux's errata, BSD-3-Clause. 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

Heap-based buffer overflows that occur during image-file parsing are high-risk because image libraries and editors routinely parse attacker-controlled files from email, the web, or shared drives; a successful overflow can corrupt heap metadata or function pointers and result in arbitrary code execution with the privileges of the GIMP process. Unlike a local information leak or read-only bug, this vulnerability enables control-flow hijacking (overwrite of heap-managed data or code pointers) when a user opens or previews a crafted XWD file — so an attacker only needs to get the victim to open a file or visit a page that causes the file to be loaded. The exploitability is increased when parsers perform large allocations based on unchecked length fields (the advisory describes missing validation of user-supplied lengths prior to copying into a heap buffer), which is a classic recipe for exploitable heap corruption. Because GIMP runs with the user’s privileges and is commonly installed on desktops, this makes the bug Important rather than merely Moderate.

Red Hat's mitigation

No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportgimp-2:2.8.22-1.el7_9.4Fixed 2025-12-09RHSA-2025:22866
Red Hat Enterprise Linux 8gimp:2.8-8100020251126132938.4c9c024fFixed 2025-12-01RHSA-2025:22417
Red Hat Enterprise Linux 8.2 Advanced Update Supportgimp:2.8-8020020251213030903.c3a0935bFixed 2026-01-07RHSA-2026:0250
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportgimp:2.8-8040020251201200912.70584597Fixed 2025-12-22RHSA-2025:23857
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Ongimp:2.8-8040020251201200912.70584597Fixed 2025-12-22RHSA-2025:23857
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportgimp:2.8-8060020251201184104.6af1eaf0Fixed 2026-01-08RHSA-2026:0356
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicegimp:2.8-8060020251201184104.6af1eaf0Fixed 2026-01-08RHSA-2026:0356
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsgimp:2.8-8060020251201184104.6af1eaf0Fixed 2026-01-08RHSA-2026:0356
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicegimp:2.8-8080020251201125333.0621e4eeFixed 2026-01-05RHSA-2026:0027
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsgimp:2.8-8080020251201125333.0621e4eeFixed 2026-01-05RHSA-2026:0027
Red Hat Enterprise Linux 9gimp-2:3.0.4-1.el9_7.1Fixed 2025-11-24RHSA-2025:21968
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsgimp-2:2.99.8-3.el9_0.2Fixed 2025-12-01RHSA-2025:22497
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsgimp-2:2.99.8-4.el9_2.2Fixed 2025-12-01RHSA-2025:22498
Red Hat Enterprise Linux 9.4 Extended Update Supportgimp-2:2.99.8-4.el9_4.2Fixed 2025-12-02RHSA-2025:22496
Red Hat Enterprise Linux 9.6 Extended Update Supportgimp-2:2.99.8-4.el9_6.3Fixed 2025-12-01RHSA-2025:22445
Red Hat Enterprise Linux 6gimpOut 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-2025-10934.

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