Skip to content
Fencer Intel
high 7.8

CVE-2025-10921 json

GIMP HDR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

published last yr. modified 23d ago also EUVD-2025-36717

cvss
7.8
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 48%
public exploits
0
none known

Summary

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.

Patch / fix

  • gegl Debian 12 1:0.4.42-2+deb12u1
  • gegl Debian 13 1:0.4.62-2+deb13u1
  • gegl Debian 14 1:0.4.62-3.1

debian advisories DEBIAN-CVE-2025-10921

  • gimp RHEL 8 2:2.8.22-26.module+el8.10.0+23719+f0b80de8.3
  • pygtk2 RHEL 8 2.24.0-25.module+el8.9.0+21228+8e80d31d
  • gimp-libs RHEL 8 2:2.8.22-26.module+el8.10.0+23719+f0b80de8.3
  • pygobject2 RHEL 8 2.28.7-5.module+el8.10.0+22676+becd68d6
  • python2-cairo RHEL 8 1.16.3-7.module+el8.10.0+22676+becd68d6
  • pygtk2-codegen RHEL 8 2.24.0-25.module+el8.9.0+21228+8e80d31d
  • python2-pycairo RHEL 8 1.16.3-7.module+el8.10.0+22676+becd68d6
  • gimp-devel-tools RHEL 8 2:2.8.22-26.module+el8.10.0+23719+f0b80de8.3

red hat advisories RHSA-2025:22417RHSA-2025:21968

  • gegl SLE Workstation Extension 15 SP7, SLE Workstation Extension 15 SP6, SLE Module for Package Hub 15 SP7 +2 more 0.4.46-150600.4.3.1
  • gegl SLE Workstation Extension 15 SP7, SLE Workstation Extension 15 SP6 0.3.34-150000.3.6.1
  • gegl SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 0.2.0-15.9.1

suse advisories SUSE-SU-2025:4382-1SUSE-SU-2025:4335-1SUSE-SU-2025:4333-1

  • gegl openSUSE Tumbleweed 0.4.64-3.1

opensuse advisories openSUSE-SU-2025:15793-1

  • gimp AlmaLinux 8 2:2.8.22-26.module_el8.10.0+4070+64105a56.3
  • pygtk2 AlmaLinux 8 2.24.0-25.module_el8.9.0+3725+d1441900
  • gimp-libs AlmaLinux 8 2:2.8.22-26.module_el8.10.0+4070+64105a56.3
  • pygobject2 AlmaLinux 8 2.28.7-5.module_el8.10.0+3952+571e801c
  • python2-cairo AlmaLinux 8 1.16.3-7.module_el8.10.0+3952+571e801c
  • pygtk2-codegen AlmaLinux 8 2.24.0-25.module_el8.9.0+3725+d1441900
  • gimp-devel-tools AlmaLinux 8 2:2.8.22-26.module_el8.10.0+4070+64105a56.3
  • pygobject2-codegen AlmaLinux 8 2.28.7-5.module_el8.10.0+3952+571e801c

almalinux advisories ALSA-2025:22417ALSA-2025:21968

  • gimp Rocky Linux 8 2:2.8.22-26.module+el8.10.0+40033+6fd27379.3
  • gimp Rocky Linux 8 2:2.8.22-26.module+el8.10.0+1998+a08ccc48.2
  • gimp Rocky Linux 8 2:2.8.22-26.module+el8.10.0+1927+52edb5a0
  • pygtk2 Rocky Linux 8 2.24.0-25.module+el8.9.0+1723+9bc93544
  • pygobject2 Rocky Linux 8 2.28.7-5.module+el8.10.0+1927+52edb5a0
  • python2-pycairo Rocky Linux 8 1.16.3-7.module+el8.10.0+1927+52edb5a0
  • gimp Rocky Linux 9 2:3.0.4-1.el9_7.1

rocky linux advisories RLSA-2025:22417RLSA-2025:21968

Is CVE-2025-10921 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-10921 updated cvss 7.8

gimp: GIMP HDR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

  • Red Hat Enterprise Linux 6 gimp, gimp-libs, gimp-devel-tools, gimp-help-browser
    affected: workaround, no fix planned “No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.”
  • Red Hat Enterprise Linux AppStream (v. 8) pygtk2 2.24.0-25.module+el8.9.0+21228+8e80d31d, gimp 2.8.22-26.module+el8.10.0+23719+f0b80de8.3, pygobject2 2.28.7-5.module+el8.10.0+22676+becd68d6, gimp-libs 2.8.22-26.module+el8.10.0+23719+f0b80de8.3, python2-cairo 1.16.3-7.module+el8.10.0+22676+becd68d6, pygtk2-codegen 2.24.0-25.module+el8.9.0+21228+8e80d31d, +3 more
    fixed: vendor fix “No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.” RHSA-2025:22417
  • Red Hat Enterprise Linux AppStream (v. 9) gimp 3.0.4-1.el9_7.1, gimp-libs 3.0.4-1.el9_7.1
    fixed: vendor fix “No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.” RHSA-2025:21968
  • Red Hat Enterprise Linux 7 gimp, gimp-libs, gimp-devel-tools
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
last yr.

Exploit prediction

0.58% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-11).

CVSS scores

assigned by version score vector
CNA 3.0 7.8 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

  • GIMP GIMP

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.