Incorrect Calculation of Buffer Size Affecting gimp package, versions <3.2.2-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.2% (10th 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-DEBIANUNSTABLE-GIMP-16092162
  • published17 Apr 2026
  • disclosed15 Apr 2026

Introduced: 15 Apr 2026

CVE-2026-40918  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade Debian:unstable gimp to version 3.2.2-1 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 Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

A flaw was found in GIMP. Processing a specially crafted PVR image file with large dimensions can lead to a denial of service (DoS). This occurs due to a stack-based buffer overflow and an out-of-bounds read in the PVR image loader, causing the application to crash. Systems that process untrusted PVR image files are affected.

CVSS Base Scores

version 3.1