Name | CVE-2025-2760 |
Description | GIMP XWD File Parsing Integer Overflow 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 an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-25082. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1107758 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
gimp (PTS) | bullseye | 2.10.22-4+deb11u2 | vulnerable |
| bullseye (security) | 2.10.22-4+deb11u1 | vulnerable |
| bookworm | 2.10.34-1+deb12u2 | vulnerable |
| bookworm (security) | 2.10.34-1+deb12u3 | vulnerable |
| trixie | 3.0.2-3.1 | vulnerable |
| sid | 3.0.4-2 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
gimp | source | (unstable) | (unfixed) | | | 1107758 |
Notes
https://www.zerodayinitiative.com/advisories/ZDI-25-203/
https://gitlab.gnome.org/GNOME/gimp/-/issues/12790
Original fix incomplete (for 32bit systems):
https://gitlab.gnome.org/GNOME/gimp/-/issues/12790#note_2468776
https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/2323