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.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.6%top 51.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12gimp2.10.34-1+deb12u4DEBIAN-CVE-2025-6035
Debian:12gimp2.10.34-1+deb12u4DSA-6043-1
Debian:13gimp3.0.4-2DEBIAN-CVE-2025-6035
Debian:14gimp3.0.4-2DEBIAN-CVE-2025-6035

Affected products (as reported)

VendorProductVersions
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