Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.8
CVE-2025-10921: GIMP can run code from crafted HDR files
CVE-2025-10921 · published 1 year ago
Summary
The image editor GIMP can be tricked into executing unwanted code when it opens a specially crafted HDR image. An attacker would need to get a user to open or view the malicious file, for example by visiting a web page that serves it. Update GIMP to the latest version or apply any offered patches to stop this behavior.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | gimp | gimp |
3.0.4 cpe:2.3:a:gimp:gimp:3.0.4:*:*:*:*:*:*:* |
| – | debian | debian_linux |
11.0 cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
| Ubuntu:Pro:16.04:LTS | canonical | gegl | All versions |
Original advisory text
GIMP HDR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
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.
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.
References
- https://www.zerodayinitiative.com/advisories/ZDI-25-910/ Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/10xxx/CVE-2025-10921... Vendor Advisory
- https://ubuntu.com/security/CVE-2025-10921 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2025-10921 Third Party Advisory
- https://gitlab.gnome.org/GNOME/gegl/-/issues/430 Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/10/msg00021.html URL
- https://nvd.nist.gov/vuln/detail/CVE-2025-10921 Vendor Advisory
- https://gitlab.gnome.org/GNOME/gegl/-/commit/0e68b7471dabf2800d780819c19bd5e6462... Vendor Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Type
CWE-122Heap-based Buffer Overflow
CWE-787Out-of-bounds Write
Timeline
Published29 Oct 2025
Updated4 Nov 2026
First seen7 Mar 2026
Track software like this
Free during beta