CVE-2026-2048 GIMP XWD File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability
Remote attackers can execute arbitrary code by tricking users into opening malicious XWD files in GIMP due to an out-of-bounds write flaw.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-2048?
CVE-2026-2048 is a high-severity memory corruption vulnerability in Gimp Gimp, published on 20 Feb 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-787
Which versions are affected by CVE-2026-2048?
It affects 1 product.
Products include Gimp Gimp.
How do I fix CVE-2026-2048?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-2048 being exploited?
There is no known exploitation of CVE-2026-2048 in the wild and no public exploit code.
Other vulnerabilities in Gimp Gimp
Sources
Also known as DEBIAN-CVE-2026-2048, GHSA-974r-v62q-8fqc, UBUNTU-CVE-2026-2048.