CVE-2026-2048
gimp: GIMP: Remote Code Execution via XWD file parsing vulnerability
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 21, 2026
Updated · June 30, 2026
Description
A flaw was found in GIMP. A remote attacker can exploit this out-of-bounds write vulnerability by tricking a user into opening a specially crafted XWD (X Window Dump) file. This issue occurs due to improper validation of user-supplied data during XWD file parsing, leading to a write past the end of an allocated buffer. Successful exploitation could allow the attacker to execute arbitrary code in the context of the current process.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE-787 · Out-of-bounds Write