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

High 7.8 Published Updated

Remote attackers can execute arbitrary code by tricking users into opening malicious HDR files in GIMP due to a heap-based buffer overflow.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-10921?

CVE-2025-10921 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 29 Oct 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2025-10921?

It affects 2 products.

Linux distribution packages (10)
gegl SUSE:Linux Enterprise Module for Package Hub 15 SP6All versions0.4.46-150600.4.3.1
gegl SUSE:Linux Enterprise Module for Package Hub 15 SP7All versions0.4.46-150600.4.3.1
gegl SUSE:Linux Enterprise Server 12 SP5-LTSSAll versions0.2.0-15.9.1
gegl SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions0.2.0-15.9.1
gegl SUSE:Linux Enterprise Workstation Extension 15 SP6All versions0.3.34-150000.3.6.1
gegl SUSE:Linux Enterprise Workstation Extension 15 SP6All versions0.4.46-150600.4.3.1
gegl SUSE:Linux Enterprise Workstation Extension 15 SP7All versions0.3.34-150000.3.6.1
gegl SUSE:Linux Enterprise Workstation Extension 15 SP7All versions0.4.46-150600.4.3.1
gegl openSUSE:Leap 15.6All versions0.4.46-150600.4.3.1
gegl openSUSE:TumbleweedAll versions0.4.64-3.1

Products include Debian Debian Linux, Gimp Gimp.

How do I fix CVE-2025-10921?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-10921 being exploited?

There is no known exploitation of CVE-2025-10921 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as CLSA-2025-1765988423, CLSA-2025-1765989021, CLSA-2025-1767025227, CLSA-2025-1767025812, DEBIAN-CVE-2025-10921, DSA-6018-1 and 6 more.

Is CVE-2025-10921 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free