Vulnerability · Published Apr 23, 2025 · Assigned by zdi

CVE-2025-2760GIMP XWD File Parsing Integer Overflow Remote Code Execution Vulnerability

High 7.8

In plain English

A high-severity integer overflow in GIMP from GIMP. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 17.2% (higher than 97% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)7.8High
Exploit odds (30 days)17.2%top 2.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

GIMP XWD File Parsing Integer 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 XWD files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-25082.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12gimp2.10.34-1+deb12u4DEBIAN-CVE-2025-2760
Debian:12gimp2.10.34-1+deb12u4DSA-6043-1
Debian:13gimp3.0.4-3DEBIAN-CVE-2025-2760
Debian:14gimp3.0.4-3DEBIAN-CVE-2025-2760

Affected products (as reported)

VendorProductVersions
GIMP GIMP 2.10.38

Weakness: CWE-190 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References