Heap-based Buffer Overflow Affecting gimp package, versions <2:3.0.4-4.el9_8.5


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.23% (13th 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-CENTOS9-GIMP-17816818
  • published4 Jul 2026
  • disclosed11 Apr 2026

Introduced: 11 Apr 2026

CVE-2026-58379  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Centos:9 gimp to version 2:3.0.4-4.el9_8.5 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 Centos. See How to fix? for Centos:9 relevant fixed versions and status.

A flaw was found in GIMP's Paint Shop Pro (PSP) file format parser. This heap buffer overflow vulnerability allows a remote attacker to cause arbitrary code execution or a denial of service (DoS) by tricking a user into opening a specially crafted PSP image file. The vulnerability occurs because the software incorrectly calculates buffer sizes when processing low bit-depth images, leading to an overwrite of adjacent memory.

CVSS Base Scores

version 3.1