Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.8

GIMP Fails to Safely Open Malicious XWD Files, Allowing Code Execution

DEBIAN-CVE-2026-2045
Summary

GIMP's XWD file parser is not secure, allowing hackers to execute code on your computer if you open a specially crafted XWD file. To stay safe, avoid opening XWD files from unknown sources and ensure you have the latest version of GIMP installed. If you're concerned, consider replacing XWD support with a safer alternative.

What to do
  • Update debian gimp to version 2.10.22-4+deb11u6.
  • Update debian gimp to version 2.10.34-1+deb12u9.
  • Update debian gimp to version 3.0.4-3+deb13u7.
  • Update debian gimp to version 3.2.0~RC3-1.
Affected software
VendorProductAffected versionsFix available
debian gimp <= 2.10.22-4+deb11u6 2.10.22-4+deb11u6
debian gimp <= 2.10.34-1+deb12u9 2.10.34-1+deb12u9
debian gimp <= 3.0.4-3+deb13u7 3.0.4-3+deb13u7
debian gimp <= 3.2.0~RC3-1 3.2.0~RC3-1
Original title
GIMP XWD File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interacti...
Original description
GIMP XWD File Parsing Out-Of-Bounds Write 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 a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28265.
osv CVSS3.1 7.8
Published: 20 Feb 2026 · Updated: 14 Mar 2026 · First seen: 14 Mar 2026