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 VendorProductAffected 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.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
7.8 High
Exploitation
<1% chance of attack within 30 days
Type
CWE-122Heap-based Buffer Overflow
CWE-787Out-of-bounds Write
Timeline
Published29 Oct 2025
Updated4 Nov 2026
First seen7 Mar 2026
Sources
Track software like this
Free during beta