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


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.13% (4th 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-18518924
  • published5 Aug 2026
  • disclosed4 Aug 2026

Introduced: 4 Aug 2026

NewCVE-2026-42169  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade Debian:unstable gimp to version 3.2.4-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 heap-buffer-overflow vulnerability exists in the APNG (Animated PNG) file loader of GIMP. This flaw occurs when the fcTL width exceeds the IHDR width, leading to pixel data being written past the end of a heap allocation. Additionally, a heap-based buffer overflow exists in the DDS plug-in due to a BPP mismatch in the load_layer() function. Both vulnerabilities can be triggered by opening a specially crafted image file, potentially leading to code execution.

CVSS Base Scores

version 3.1