Skip to content
OpenAdvisories
Medium · 6.1 CVE-2025-6035 EUVD-2025-18287GHSA-h5rp-69cv-hv5v

Gimp: gimp integer overflow

Published Jun 13, 2025 · Updated Nov 5, 2026 · Assigned by redhat

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 products

VendorProductAffectedFixed
— gimp < 3.0.4 3.0.4
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gimp 3.0.4-2 —
Debian 13 gimp 3.0.4-2 —
Debian 12 gimp 2.10.34-1+deb12u4 DSA-6043-1
Debian 11 gimp 2.10.22-4+deb11u3 DLA-4342-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS gimp 2.10.36-3ubuntu0.24.04.1+esm3 —
Ubuntu Pro 22.04 LTS gimp 2.10.30-1ubuntu0.1+esm3 —
Ubuntu Pro 20.04 LTS gimp 2.10.18-1ubuntu0.1+esm3 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS gimp 2.8.22-1ubuntu0.1~esm3 —
Ubuntu Pro 16.04 LTS gimp 2.8.16-1ubuntu1.1+esm3 —
ReleasePackageFixed inAdvisory
SLES 15 SP7 gimp 2.10.30-150400.3.23.1 SUSE-SU-2025:02367-1
SLES 15 SP6 gimp 2.10.30-150400.3.23.1 SUSE-SU-2025:02367-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.6 gimp 2.10.30-150400.3.23.1 SUSE-SU-2025:02367-1

Advisories 4

References