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

GIMP Can Run Malicious Code if You Open a Specially Crafted File

UBUNTU-CVE-2026-2048
Summary

If you use GIMP, be cautious when opening files from unknown sources. Hackers could create a malicious file that, when opened, allows them to run code on your computer. To protect yourself, only open files from trusted sources and keep your GIMP software up to date with the latest security patches.

What to do

No fix is available yet. Check with your software vendor for updates.

Affected software
VendorProductAffected versionsFix available
canonical gimp All versions
canonical gimp All versions
canonical gimp All versions
canonical gimp All versions
canonical gimp All versions
canonical gimp All versions
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-28591.
osv CVSS3.1 7.8
Published: 20 Feb 2026 · Updated: 13 Mar 2026 · First seen: 13 Mar 2026