CVE-2026-2048

GIMP XWD File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability

Published Feb 20, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability in GIMP’s XWD file parser permits a remote attacker to overwrite memory outside the bounds of a buffer, leading to arbitrary code execution under the user’s process context. This flaw arises from insufficient validation of user-supplied data during XWD parsing, a classic example of the type of out‑of‑bounds write identified in CWE‑787. The impact is that any user who opens a crafted XWD file or visits a malicious webpage that triggers the parser could have code executed with the privileges of the GIMP process, potentially compromising the entire system.

Affected Systems

This issue affects GIMP version 3.2.0 release candidate 1 as specified by the CPE entry. The vulnerability is associated with the GIMP product from the GIMP vendor. No other versions or vendors are listed in the current data.

Risk and Exploitability

The severity score of 7.8 indicates a high level of risk, but the EPSS score of less than 1% suggests that active exploitation is unlikely at present. The vulnerability is not included in the CISA KEV catalog, and exploitation requires user interaction—open a malicious file or visit a compromised page—so the attack vector can be considered remote but dependent on user action. Given the lack of exploitation evidence and reliance on the victim’s willingness to open a file, the overall threat remains significant but less likely than vulnerabilities that can be triggered automatically.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update GIMP to a patched version that addresses the XWD parsing flaw
  • If an immediate update is not possible, disable or remove the XWD plugin/module to block the vulnerable code path
  • Configure the system to block or isolate applications that handle unknown file types, and educate users to avoid opening suspicious files

Generated by OpenCVE AI on April 18, 2026 at 11:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4500-1 gimp security updat
Debian DSA Debian DSA DSA-6156-1 gimp security update
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:gimp:gimp:3.2.0:rc1:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Gimp
Gimp gimp
Vendors & Products Gimp
Gimp gimp
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
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.
Title GIMP XWD File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability
Weaknesses CWE-787
References
Metrics cvssV3_0

{'score': 7.8, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
zdi
Published
Updated
Jul 15, 2026, 1:20 AM
Reserved
Feb 6, 2026, 1:16 AM
Status
Modified
Published
Feb 20, 2026, 11:16 PM
Modified
Jul 15, 2026, 2:19 AM
Severity
Important
Public date
Feb 20, 2026, 10:23 PM