CVE-2025-10921
High · 7.8CVSS
7.8
EPSS
0.6%
Published
Oct 29, 2025
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| AlmaLinux:8 | gimp | 0 | 2:2.8.22-26.module_el8.10.0+4070+64105a56.3 |
| AlmaLinux:8 | gimp-devel | 0 | 2:2.8.22-26.module_el8.10.0+4070+64105a56.3 |
| AlmaLinux:8 | gimp-devel-tools | 0 | 2:2.8.22-26.module_el8.10.0+4070+64105a56.3 |
| AlmaLinux:8 | gimp-libs | 0 | 2:2.8.22-26.module_el8.10.0+4070+64105a56.3 |
| AlmaLinux:8 | pygobject2 | 0 | 2.28.7-5.module_el8.10.0+3952+571e801c |
| AlmaLinux:8 | pygobject2-codegen | 0 | 2.28.7-5.module_el8.10.0+3952+571e801c |
| AlmaLinux:8 | pygobject2-devel | 0 | 2.28.7-5.module_el8.10.0+3952+571e801c |
| AlmaLinux:8 | pygobject2-doc | 0 | 2.28.7-5.module_el8.10.0+3952+571e801c |
| AlmaLinux:8 | pygtk2 | 0 | 2.24.0-25.module_el8.9.0+3725+d1441900 |
| AlmaLinux:8 | pygtk2-codegen | 0 | 2.24.0-25.module_el8.9.0+3725+d1441900 |
| AlmaLinux:8 | pygtk2-devel | 0 | 2.24.0-25.module_el8.9.0+3725+d1441900 |
| AlmaLinux:8 | pygtk2-doc | 0 | 2.24.0-25.module_el8.9.0+3725+d1441900 |
| AlmaLinux:8 | python2-cairo | 0 | 1.16.3-7.module_el8.10.0+3952+571e801c |
| AlmaLinux:8 | python2-cairo-devel | 0 | 1.16.3-7.module_el8.10.0+3952+571e801c |
| AlmaLinux:9 | gimp | 0 | 2:3.0.4-1.el9_7.1 |
| AlmaLinux:9 | gimp-libs | 0 | 2:3.0.4-1.el9_7.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP6 | gegl | 0 | 0.4.46-150600.4.3.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP7 | gegl | 0 | 0.4.46-150600.4.3.1 |
| SUSE:Linux Enterprise Server 12 SP5-LTSS | gegl | 0 | 0.2.0-15.9.1 |
| SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | gegl | 0 | 0.2.0-15.9.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP6 | gegl | 0 | 0.3.34-150000.3.6.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP6 | gegl | 0 | 0.4.46-150600.4.3.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP7 | gegl | 0 | 0.3.34-150000.3.6.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP7 | gegl | 0 | 0.4.46-150600.4.3.1 |
| openSUSE:Leap 15.6 | gegl | 0 | 0.4.46-150600.4.3.1 |
| openSUSE:Tumbleweed | gegl | 0 | 0.4.64-3.1 |
Related vulnerabilities
- CVE-2025-14422 GIMP PNM File Parsing Integer Overflow Remote Code Execution Vulnerability. Also affects gimp
- CVE-2025-10923 GIMP WBMP File Parsing Integer Overflow Remote Code Execution Vulnerability. Also affects gimp
- CVE-2025-10934 GIMP XWD File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. Also affects gimp
- CVE-2025-10925 GIMP ILBM File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability. Also affects gimp
- CVE-2025-10924 GIMP FF File Parsing Integer Overflow Remote Code Execution Vulnerability. Also affects gimp
- CVE-2025-10922 GIMP DCM File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. Also affects gimp
- CVE-2025-10920 GIMP ICNS File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability. Also affects gimp
- CVE-2025-5473 GIMP ICO File Parsing Integer Overflow Remote Code Execution Vulnerability. Also affects gimp