cve.bz

CVE-2025-10921 Out-of-bounds Write

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

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; 48th 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.
CWEs
CWE-787 Out-of-bounds Write
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-10921 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-10921?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-10921?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-10921 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
Debian11gegl1:0.4.26-2+deb11u1DLA-4341-1
Debian12gegl1:0.4.42-2+deb12u1DEBIAN-CVE-2025-10921 DSA-6018-1
Debian13gegl1:0.4.62-2+deb13u1DEBIAN-CVE-2025-10921 DSA-6018-1
Debian14gegl1:0.4.62-3.1DEBIAN-CVE-2025-10921
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 5 moregeglno fix listedUBUNTU-CVE-2025-10921
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
SUSELinux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP6 and 1 moregegl0.4.46-150600.4.3.1SUSE-SU-2025:4335-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5gegl0.2.0-15.9.1SUSE-SU-2025:4382-1
SUSELinux Enterprise Workstation Extension 15 SP6, Linux Enterprise Workstation Extension 15 SP7gegl0.3.34-150000.3.6.1SUSE-SU-2025:4333-1
openSUSELeap 15.6gegl0.4.46-150600.4.3.1SUSE-SU-2025:4335-1
openSUSETumbleweedgegl0.4.64-3.1openSUSE-SU-2025:15793-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

This vulnerability is Important because it enables remote code execution in the context of the user’s GIMP process with relatively low prerequisites: an attacker only needs to supply a crafted HDR file and get the victim to open or preview it. Heap overflows in image-parsing code are especially dangerous because image loaders commonly operate on untrusted files and often run in the same process as the application’s UI and plugins; a successful overwrite of heap metadata or adjacent control data can lead to arbitrary instruction-pointer control (RCE). Although exploitation requires user interaction (opening/preview), the attack surface is large (attachments, downloads, web previews) and the payload can execute with the user’s privileges, potentially leading to system compromise or lateral movement if the user has elevated access.

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 8gimp:2.8-8100020251126132938.4c9c024fFixed 2025-12-01RHSA-2025:22417
Red Hat Enterprise Linux 9gimp-2:3.0.4-1.el9_7.1Fixed 2025-11-24RHSA-2025:21968
Red Hat Enterprise Linux 6gimpOut of support scope
Red Hat Enterprise Linux 7gimpNot 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-2025-10921.

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