Integer Overflow or Wraparound Affecting gimp package, versions <2.10.18-1ubuntu0.1+esm3


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.48% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-GIMP-10363415
  • published3 Mar 2026
  • disclosed13 Jun 2025

Introduced: 13 Jun 2025

CVE-2025-6035  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 gimp to version 2.10.18-1ubuntu0.1+esm3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gimp package and not the gimp package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1