Heap-based Buffer Overflow Affecting gimp package, versions [,3.2.0-rc1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.64% (49th 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 Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-GIMP-14566153
  • published24 Dec 2025
  • disclosed23 Dec 2025
  • creditUnknown

Introduced: 23 Dec 2025

CVE-2025-14425  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade gimp to version 3.2.0-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the load_image function un the plug-ins/common/file-jp2.c file. An attacker can execute arbitrary code by convincing a user to open a specially crafted JP2 file.

Workaround

This vulnerability can be mitigated by exercising caution and avoiding the opening of untrusted JP2 image files. Restricting the source of JP2 files to trusted origins can reduce the risk of exploitation.

CVSS Base Scores

version 4.0
version 3.1