---
id: CVE-2025-6035
title: A flaw was found in GIMP
summary: >-
  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 re…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H'
cwe:
  - CWE-190
  - CWE-190
vendor: gimp
product: gimp
affected:
  - gimp = 2.8.0
published: '2025-06-13'
updated: '2026-06-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-6035'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2025-6035'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2372515'
    label: secalert@redhat.com
  - url: 'https://gitlab.gnome.org/GNOME/gimp/-/issues/13518'
    label: secalert@redhat.com
  - url: 'https://lists.debian.org/debian-lts-announce/2025/10/msg00022.html'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00574
epssPercentile: 0.46163
ingestedAt: '2026-06-29T13:24:34.366Z'
---

## Overview

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

- `gimp = 2.8.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
