| Name | CVE-2025-6035 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4342-1, DSA-6043-1 |
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+deb11u3 | fixed | |
| bookworm | 2.10.34-1+deb12u3 | vulnerable | |
| bookworm (security) | 2.10.34-1+deb12u4 | fixed | |
| trixie | 3.0.4-3 | fixed | |
| trixie (security) | 3.0.4-3+deb13u1 | fixed | |
| forky, sid | 3.0.4-6.1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| gimp | source | bullseye | 2.10.22-4+deb11u3 | DLA-4342-1 | ||
| gimp | source | bookworm | 2.10.34-1+deb12u4 | DSA-6043-1 | ||
| gimp | source | (unstable) | 3.0.4-2 |
https://gitlab.gnome.org/GNOME/gimp/-/issues/13518
Fixed by: https://gitlab.gnome.org/GNOME/gimp/-/commit/548bc3a46d54711d974aae9ce1bce291376c0436 (GIMP_3_0_4)