CVE-2025-10921
gimp: GIMP HDR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
Overview
Description
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.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: CWE-122, CWE-787
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 33 fixes
Oracle Linux 2 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | python2-cairo +1 | 1.16.3-7.module+el8.10.0+90497+ae78887f |
| 8 | pygtk2 +3 | 2.24.0-25.module+el8.9.0+90151+46a7e4b5 |
| 8 | pygobject2 +3 | 2.28.7-5.module+el8.10.0+90497+ae78887f |
| 8 | gimp +3 | 2:2.8.22-26.module+el8.10.0+90712+2a2d9b57.3 |
| 9 | gimp +1 | 2:3.0.4-1.el9_7.1 |
Red Hat 2 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 8 (gimp:2.8) | python2-cairo +1 | 0:1.16.3-7.module+el8.10.0+22676+becd68d6 | RHSA-2025:22417 |
| 8 (gimp:2.8) | pygtk2 +3 | 0:2.24.0-25.module+el8.9.0+21228+8e80d31d | RHSA-2025:22417 |
| 8 (gimp:2.8) | pygobject2 +3 | 0:2.28.7-5.module+el8.10.0+22676+becd68d6 | RHSA-2025:22417 |
| 8 (gimp:2.8) | gimp +3 | 2:2.8.22-26.module+el8.10.0+23719+f0b80de8.3 | RHSA-2025:22417 |
| 9 | gimp +1 | 2:3.0.4-1.el9_7.1 | RHSA-2025:21968 |
SUSE Linux Enterprise 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | gegl-devel | 0.2.0-15.9.1 | SUSE-SU-2025:4382-1 |
| 15.6 | gegl-0-3 +2 | 0.3.34-150000.3.6.1 | SUSE-SU-2025:4333-1 |
| 15.6 | gegl +6 | 0.4.46-150600.4.3.1 | SUSE-SU-2025:4335-1 |
| 15.7 | gegl-0-3 +2 | 0.3.34-150000.3.6.1 | SUSE-SU-2025:4333-1 |
| 15.7 | gegl +6 | 0.4.46-150600.4.3.1 | SUSE-SU-2025:4335-1 |
alma 2 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (gimp:2.8) | python2-cairo +1 | 1.16.3-7.module_el8.10.0+3952+571e801c |
| 8 (gimp:2.8) | pygtk2 +3 | 2.24.0-25.module_el8.9.0+3725+d1441900 |
| 8 (gimp:2.8) | pygobject2 +3 | 2.28.7-5.module_el8.10.0+3952+571e801c |
| 8 (gimp:2.8) | gimp +3 | 2:2.8.22-26.module_el8.10.0+4070+64105a56.3 |
| 9 | gimp +1 | 2:3.0.4-1.el9_7.1 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | gegl | 1:0.4.26-2+deb11u1 |
| 12 | gegl | 1:0.4.42-2+deb12u1 |
| 13 | gegl | 1:0.4.62-2+deb13u1 |
| 14 | gegl | 1:0.4.62-3.1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| gegl | 1:0.4.62-2+deb13u1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | gegl +6 | 0.4.64-3.1 | openSUSE-SU-2025:15793-1 |
rocky 2 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (gimp:2.8) | python2-cairo +1 | 1.16.3-7.module+el8.10.0+1927+52edb5a0 |
| 8 (gimp:2.8) | pygtk2 +3 | 2.24.0-25.module+el8.9.0+1723+9bc93544 |
| 8 (gimp:2.8) | pygobject2 +3 | 2.28.7-5.module+el8.10.0+1927+52edb5a0 |
| 8 (gimp:2.8) | gimp +3 | 2:2.8.22-26.module+el8.10.0+1927+52edb5a0 |
| 8 (gimp:2.8) | gimp +3 | 2:2.8.22-26.module+el8.10.0+1998+a08ccc48.2 |
| 8 (gimp:2.8) | gimp +3 | 2:2.8.22-26.module+el8.10.0+40033+6fd27379.3 |
1 more row
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:21968
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:22417
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-10921
- bugzilla.redhat.com https://bugzilla.redhat.com/2407188
- bugzilla.redhat.com https://bugzilla.redhat.com/2407191
- bugzilla.redhat.com https://bugzilla.redhat.com/2407192
- bugzilla.redhat.com https://bugzilla.redhat.com/2407194
- bugzilla.redhat.com https://bugzilla.redhat.com/2407199
- bugzilla.redhat.com https://bugzilla.redhat.com/2407200
- bugzilla.redhat.com https://bugzilla.redhat.com/2407233
Show all 34 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2407188
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2407191
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2407192
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2407194
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2407199
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2407200
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2407233
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-10920
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-10921
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-10922
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-10923
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-10924
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-10925
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-10934
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2025-21968.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2025:22417
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/gegl/-/commit/0e68b7471dabf2800d780819c19bd5e6462f565f
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-10921.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-22417.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/10/msg00021.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-10921
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-10921
- www.zerodayinitiative.com https://www.zerodayinitiative.com/advisories/ZDI-25-910/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.