CVE-2025-2760
GIMP XWD File Parsing Integer Overflow Remote Code Execution Vulnerability
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.8
GIMP XWD File Parsing Integer Overflow Remote Code Execution Vulnerability
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.
- Record
CVE-2025-2760- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
EUVDEUVD-2025-12177
7.8
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.
- Record
EUVD-2025-12177- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-q89g-m3mc-fgwc
7.8
GIMP XWD File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability...
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.
- Record
GHSA-q89g-m3mc-fgwc- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
NVD
7.8
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.
- Record
CVE-2025-2760- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
OSV
7.8
GIMP XWD File Parsing Integer Overflow Remote Code Execution Vulnerability
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.
- Record
CVE-2025-2760- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-2760
7.8
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.
- Record
DEBIAN-CVE-2025-2760- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSVOESA-2025-1481
7.8
gimp security update
The GIMP is an image composition and editing program, which can be used for creating logos and other graphics for Web pages. The GIMP offers many tools and filters, and provides a large image manipulation toolbox, including channel operations and layers, effects, subpixel imaging and antialiasing, and conversions, together with multilevel undo. The GIMP offers a scripting facility, but many of the included scripts rely on fonts that we cannot distribute.
Security Fix(es):
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.(CVE-2025-2760)
GIMP FLI 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 FLI 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-25100.(CVE-2025-2761)
- Record
OESA-2025-1481- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2025-1482
7.8
gimp security update
The GIMP is an image composition and editing program, which can be used for creating logos and other graphics for Web pages. The GIMP offers many tools and filters, and provides a large image manipulation toolbox, including channel operations and layers, effects, subpixel imaging and antialiasing, and conversions, together with multilevel undo. The GIMP offers a scripting facility, but many of the included scripts rely on fonts that we cannot distribute.
Security Fix(es):
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.(CVE-2025-2760)
GIMP FLI 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 FLI 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-25100.(CVE-2025-2761)
- Record
OESA-2025-1482- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-2760
7.8
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.
- Record
UBUNTU-CVE-2025-2760- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2026-0012 No score
Updated gimp packages fix security vulnerabilities
XWD File Parsing Integer Overflow Remote Code Execution Vulnerability. (CVE-2025-2760) FLI File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability. (CVE-2025-2761) Multiple heap buffer overflows in tga parser. (CVE-2025-48797) Multiple use after free in xcf parser. (CVE-2025-48798) XWD File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. (CVE-2025-10934) PNM File Parsing Integer Overflow Remote Code Execution Vulnerability. (CVE-2025-14422) JP2 File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. (CVE-2025-14425)
- Record
MGASA-2026-0012- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15476-1 No score
gimp-3.0.4-2.1 on GA media
These are all security issues fixed in the gimp-3.0.4-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15476-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:20055-1 No score
Security update for gimp
This update for gimp fixes the following issues:
Changes in gimp:
Update to 3.0.6:
-
Security:
- During development, we received reports from the Zero Day
Initiative of potential security issues with some of our file
import plug-ins. While these issues are very unlikely to
occur with real files, developers like Jacob Boerema and Alx
Sa proactively improved security for those imports.
The resolved reports are:
- ZDI-CAN-27793
- ZDI-CAN-27823
- ZDI-CAN-27836
- ZDI-CAN-27878
- ZDI-CAN-27863
- ZDI-CAN-27684
- During development, we received reports from the Zero Day
Initiative of potential security issues with some of our file
import plug-ins. While these issues are very unlikely to
occur with real files, developers like Jacob Boerema and Alx
Sa proactively improved security for those imports.
The resolved reports are:
-
Core:
-
Many false-positive build warnings have been cleaned out (and proper issues fixed).
-
Various crashes fixed.
-
When creating a layer mask from the layer's alpha, but the layer has no alpha, simply fill the mask with complete opacity instead of a completely transparent layer.
-
Various core infrastructure code reviewed, cleaned up, refactored and improved, in drawable, layer and filter handling code, tree view code, and more.
-
GIMP_ICONS_LIKE_A_BOSS environment variable is not working anymore (because "gtk-menu-images" and "gtk-button-images" have been deprecated in GTK3 and removed in GTK4) and was therefore removed.
-
Lock Content now shows as an undo step.
-
Add alpha channel for certain transforms.
-
Add alpha channel on filter merge, when necessary.
-
Filters can now be applied non-destructively on channels.
-
Improved Photoshop brush support.
-
After deleting a palette entry, the next entry is automatically selected. This allows easily deleting several entries in a row, among other usage.
-
Resize image to layers irrespective to selections.
-
Improved in-GUI release notes' demo script language:
- We can now set a button value to click it: "toolbox:text, tool-options:outline=1, tool-options:outline-direction"
- Color selector's module names can be used as identifiers: "color-editor,color-editor:CMYK=1,color-editor:total-ink-coverage"
-
Fixed Alpha to Selection on single layers with no transparency.
-
Various code is slowly ported to newer code, preparing for GTK4 port (in an unplanned future step):
- Using g_set_str() (optionally redefining it in our core code to avoid bumping the GLib minimum requirement).
- Start using GListModel in various pieces of code, in particular getting rid of more and more usage of GtkTreeView when possible (as it will be deprecated with GTK4).
- New GimpRow class for all future row widgets.
- Use more of G_DECLARE_DERIVABLE_TYPE and G_DECLARE_FINAL_TYPE where relevant.
- New GimpContainerListView using a GtkListBox.
- New GimpRowSeparator, GimpRowSettings, GimpRowFilter and GimpRowDrawableFilter widgets.
-
(Experimental) GEX Format was updated.
-
Palette import:
- Set alpha value for image palette imports.
- Fix Lab & CMYK ACB palette import.
- Add palette format filters to import dialog, making it more apparent what palette formats are supported, and giving the ability to hide irrelevant files.
-
Improved filter actions' sensitivity to make sure they are set insensitive when relevant. In particular filters which cannot be run non-destructively (e.g. filters with aux inputs, non-interactive filters and GEGL Graph) must be insensitive when trying to run them on group layers.
-
Fix bad axis centering on zoom out.
-
Export better SVG when exporting paths.
-
-
Tools:
- Text tool: make sure the default color is only changed when the user confirms the color change.
- Foreground Selection tool: do not create a selection when no strokes has been made. In particular this removes the unnecessary delay which happened when switching to another tool without…
- Record
openSUSE-SU-2026:20055-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:03075-1 No score
Security update for gimp
This update for gimp fixes the following issues:
- CVE-2025-2760: lack of proper validation of user-supplied data in DDS parser can lead to integer overflow and remote code execution (bsc#1241690).
- Record
SUSE-SU-2025:03075-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gimpDebian:12 |
before 2.10.34-1+deb12u4, plus listed versions 2.10.34-12.10.34-1+deb12u12.10.34-1+deb12u22.10.34-1+deb12u3 |
2.10.34-1+deb12u4 |
gimpDebian:13 |
before 3.0.4-3 | 3.0.4-3 |
gimpDebian:14 |
before 3.0.4-3 | 3.0.4-3 |
gimpDebian:11 From an advisory covering 7 CVEs |
before 2.10.22-4+deb11u3, plus listed versions 2.10.22-42.10.22-4+deb11u12.10.22-4+deb11u2 |
2.10.22-4+deb11u3 |
gimpDebian:12 From an advisory covering 3 CVEs |
before 2.10.34-1+deb12u4, plus listed versions 2.10.34-12.10.34-1+deb12u12.10.34-1+deb12u22.10.34-1+deb12u3 |
2.10.34-1+deb12u4 |
gimpMageia:9 From an advisory covering 7 CVEs |
before 2.10.36-1.1.mga9 | 2.10.36-1.1.mga9 |
gimpopenEuler:24.03-LTS From an advisory covering 2 CVEs |
before 3.0.2-1.oe2403 | 3.0.2-1.oe2403 |
gimpopenEuler:24.03-LTS-SP1 From an advisory covering 2 CVEs |
before 3.0.2-1.oe2403sp1 | 3.0.2-1.oe2403sp1 |
gimpSUSE:Linux Enterprise Module for Package Hub 15 SP6 |
before 2.10.30-150400.3.26.1 | 2.10.30-150400.3.26.1 |
gimpSUSE:Linux Enterprise Module for Package Hub 15 SP7 |
before 2.10.30-150400.3.26.1 | 2.10.30-150400.3.26.1 |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
gimpSUSE:Linux Enterprise Workstation Extension 15 SP6 |
before 2.10.30-150400.3.26.1 | 2.10.30-150400.3.26.1 |
gimpSUSE:Linux Enterprise Workstation Extension 15 SP7 |
before 2.10.30-150400.3.26.1 | 2.10.30-150400.3.26.1 |
gimpopenSUSE:Leap 15.6 |
before 2.10.30-150400.3.26.1 | 2.10.30-150400.3.26.1 |
gimpUbuntu:Pro:20.04:LTS |
before 2.10.18-1ubuntu0.1+esm2, plus listed versions 2.10.8-22.10.14-22.10.14-2build12.10.14-2ubuntu12.10.14-32.10.18-12.10.18-1ubuntu0.12.10.18-1ubuntu0.1+esm1 |
2.10.18-1ubuntu0.1+esm2 |
gimpUbuntu:Pro:22.04:LTS |
before 2.10.30-1ubuntu0.1+esm2, plus listed versions 2.10.24-22.10.28-12.10.30-12.10.30-1build12.10.30-1ubuntu0.12.10.30-1ubuntu0.1+esm1 |
2.10.30-1ubuntu0.1+esm2 |
gimpUbuntu:Pro:24.04:LTS |
before 2.10.36-3ubuntu0.24.04.1+esm2, plus listed versions 2.10.34-12.10.36-12.10.36-22.10.36-3build22.10.36-3build32.10.36-3ubuntu0.24.04.12.10.36-3ubuntu0.24.04.1+esm1 |
2.10.36-3ubuntu0.24.04.1+esm2 |
gimpopenSUSE:Tumbleweed |
before 3.0.4-2.1 | 3.0.4-2.1 |
gimpopenSUSE:Leap 16.0 From an advisory covering 5 CVEs |
before 3.0.6-bp160.1.1 | 3.0.6-bp160.1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-2760 is a high vulnerability (CVSS 7.8) in Gimp, published April 23, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 17.2%, the 97th percentile. Fixed in gimp 2.10.34-1+deb12u4.
References
zerodayinitiative.com/advisories/ZDI-25-203
lists.debian.org/debian-lts-announce/2025/10/msg00022.html
nvd.nist.gov/vuln/detail/CVE-2025-2760
github.com/advisories/GHSA-q89g-m3mc-fgwc
github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2760.json
security-tracker.debian.org/tracker/CVE-2025-2760
Show 24 moreShow less
advisories.mageia.org/MGASA-2026-0012.html
bugs.mageia.org/show_bug.cgi?id=34363
lists.opensuse.org/archives/list/[email protected]/message/DVVZTOVQSBY5ON5P7HYQIXK2OLMSUEH5
lists.debian.org/debian-lts-announce/2025/11/msg00005.html
lists.debian.org/debian-security-announce/2025/msg00103.html
lists.debian.org/debian-security-announce/2026/msg00001.html
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1481
nvd.nist.gov/vuln/detail/CVE-2025-2761
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1482
suse.com/support/update/announcement/2025/suse-su-202503075-1
bugzilla.suse.com/1241690
suse.com/security/cve/CVE-2025-2760
ubuntu.com/security/CVE-2025-2760
cve.org/CVERecord?id=CVE-2025-2760
gitlab.gnome.org/GNOME/gimp/-/issues/12790
ubuntu.com/security/notices/USN-8075-1
bugzilla.suse.com/1250495
bugzilla.suse.com/1250497
bugzilla.suse.com/1250499
bugzilla.suse.com/1250501
suse.com/security/cve/CVE-2025-10920
suse.com/security/cve/CVE-2025-10922
suse.com/security/cve/CVE-2025-10924
suse.com/security/cve/CVE-2025-10925
Left out here: the rest of 1 source description. The JSON record has them.