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.006 (45.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 45th percentile — 45.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.006 · change: +0.001
Affected products
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
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2025-6035?
- CVE-2025-6035 is a medium-severity vulnerability in Gimp, classified under Integer Overflow or Wraparound. CVSS score: 6.1/10. Published 2025-06-13.
- How severe is CVE-2025-6035?
- Medium severity. CVSS v3 base score is 6.1 out of 10.