Integer overflow in Gimp
CVE-2025-6035
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H.
EPSS exploit prediction
EPSS 0.009, 60.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Gimp — versions 2.8.0
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2025-6035 (Third Party Advisory, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Third Party Advisory, Issue Tracking)
- gitlab.gnome.org/GNOME/gimp/-/issues/13518
- lists.debian.org/debian-lts-announce/2025/10/msg00022.html