GIMP Vulnerable to Remote Code Execution via Third-Party Component Flaw
A critical remote code execution vulnerability has been disclosed in GIMP, stemming from a flaw in its XPM file parsing component.

The popular open-source image editor GIMP has been found to be vulnerable to remote code execution (RCE) due to a flaw in how it handles XPM files. The vulnerability, identified as ZDI-26-1163 and assigned CVE-2026-134008, carries a CVSS score of 7.8, indicating a high severity.
Attackers can exploit this vulnerability by tricking users into opening a specially crafted XPM file or by directing them to a malicious webpage that serves such a file. Successful exploitation would allow an attacker to execute arbitrary code on the affected system within the context of the current GIMP process. This means that if GIMP is running with elevated privileges, the attacker could gain significant control over the compromised machine.
The root cause of the vulnerability lies in the use of a vulnerable version of the libXpm library, a third-party component relied upon by GIMP for parsing XPM image files. This library, when processing malformed XPM data, can be manipulated to trigger the code execution.
While user interaction is required, the ease with which users can be tricked into opening files or visiting malicious sites makes this a significant threat. The vulnerability affects installations of GIMP that have not yet been updated to a patched version.
Zero Day Initiative, the organization that disclosed the vulnerability, has coordinated with the vendor for a public release of the advisory. GIMP developers have already released an update to address this issue. Users are strongly advised to update their GIMP installations to the latest version to mitigate the risk.
The disclosure timeline indicates that the vulnerability was reported to the vendor on March 31, 2026, and the coordinated public release of the advisory occurred on December 1, 2026. This timeframe highlights the vendor's efforts to address the issue responsibly.
This vulnerability is a prime example of how flaws in third-party components can introduce significant security risks into widely used software. Developers often integrate libraries to speed up development, but it is crucial to ensure these components are kept up-to-date and are regularly audited for security weaknesses.
As with many file-parsing vulnerabilities, the impact can range from denial-of-service to full system compromise, depending on the privileges of the exploited application and the attacker's objectives. The CVSS score of 7.8 underscores the potential severity and widespread impact such a flaw could have.