Skip to content

CVE-2025-10934 GIMP XWD File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

HighCVSS 7.8 EPSS 0.58%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebian

Description

GIMP XWD 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 XWD 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-27823.

Upgrade path

7 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/gimp(Debian 12) < 2.10.34-1+deb12u5; = 2.10.34-1; = 2.10.34-1+deb12u1; = 2.10.34-1+deb12u2 +2 more 2.10.34-1+deb12u5 Fixed
debian/gimp(Debian 13) < 3.0.4-3+deb13u2; = 3.0.4-3; = 3.0.4-3+deb13u1 3.0.4-3+deb13u2 Fixed
debian/gimp(Debian 14) < 3.0.4-6.2; = 3.0.4-3; = 3.0.4-4; = 3.0.4-5 +2 more 3.0.4-6.2 Fixed
ubuntu/gimp(Ubuntu 22.04) < 2.10.30-1ubuntu0.1+esm2 2.10.30-1ubuntu0.1+esm2 Fixed
ubuntu/gimp(Ubuntu 24.04) < 2.10.36-3ubuntu0.24.04.1+esm2 2.10.36-3ubuntu0.24.04.1+esm2 Fixed
debian linux = 11.0 No fix listed Versions listed
gimp = 3.0.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/gimp(Debian:12) < 2.10.34-1+deb12u5 2.10.34-1+deb12u5
debian/gimp(Debian:12) = 2.10.34-1 No fix listed
debian/gimp(Debian:12) = 2.10.34-1+deb12u1 No fix listed
debian/gimp(Debian:12) = 2.10.34-1+deb12u2 No fix listed
debian/gimp(Debian:12) = 2.10.34-1+deb12u3 No fix listed
debian/gimp(Debian:12) = 2.10.34-1+deb12u4 No fix listed
debian/gimp(Debian:13) < 3.0.4-3+deb13u2 3.0.4-3+deb13u2
debian/gimp(Debian:13) = 3.0.4-3 No fix listed
debian/gimp(Debian:13) = 3.0.4-3+deb13u1 No fix listed
debian/gimp(Debian:14) < 3.0.4-6.2 3.0.4-6.2
debian/gimp(Debian:14) = 3.0.4-3 No fix listed
debian/gimp(Debian:14) = 3.0.4-4 No fix listed
debian/gimp(Debian:14) = 3.0.4-5 No fix listed
debian/gimp(Debian:14) = 3.0.4-6 No fix listed
debian/gimp(Debian:14) = 3.0.4-6.1 No fix listed
gimp = 3.0.4 No fix listed
ubuntu/gimp(Ubuntu:22.04) < 2.10.30-1ubuntu0.1+esm2 2.10.30-1ubuntu0.1+esm2
ubuntu/gimp(Ubuntu:24.04) < 2.10.36-3ubuntu0.24.04.1+esm2 2.10.36-3ubuntu0.24.04.1+esm2
debian linux = 11.0 No fix listed

References