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.
Problem types
Integer Overflow or Wraparound
Product status
Any version before 3.0.4
Timeline
| 2025-06-12: | Reported to Red Hat. |
| 2025-06-12: | Made public. |
References
lists.debian.org/debian-lts-announce/2025/10/msg00022.html
access.redhat.com/security/cve/CVE-2025-6035
bugzilla.redhat.com/show_bug.cgi?id=2372515 (RHBZ#2372515)
gitlab.gnome.org/GNOME/gimp/-/issues/13518