Vulnerability · Published Jun 13, 2025 · Assigned by redhat
CVE-2025-6035Gimp: gimp integer overflow
Medium 6.1
In plain English
A medium-severity integer overflow in gimp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A flaw was found in GIMP. An integer overflow vulnerability exists in the GIMP "Despeckle" plug-in. The issue occurs due to unchecked multiplication of image dimensions, such as width, height, and bytes-per-pixel (img_bpp), which can result in allocating insufficient memory and subsequently performing out-of-bounds writes. This issue could lead to heap corruption, a potential denial of service (DoS), or arbitrary code execution in certain scenarios.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | gimp | 2.10.34-1+deb12u4 | DEBIAN-CVE-2025-6035 |
| Debian:12 | gimp | 2.10.34-1+deb12u4 | DSA-6043-1 |
| Debian:13 | gimp | 3.0.4-2 | DEBIAN-CVE-2025-6035 |
| Debian:14 | gimp | 3.0.4-2 | DEBIAN-CVE-2025-6035 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| gimp | 0 – before 3.0.4 | |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
References
- https://access.redhat.com/security/cve/CVE-2025-6035 vdb-entry, x_refsource_REDHAT
- RHBZ#2372515 issue-tracking, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/gimp/-/issues/13518
- https://lists.debian.org/debian-lts-announce/2025/10/msg00022.html