CVE-2026-58379

Gimp: gimp: heap buffer overflow in read_channel_data()

Published Jul 3, 2026 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A flaw in the GIMP Paint Shop Pro image parser results in a heap buffer overflow (CWE-122). When GIMP opens low‑bit‑depth PSP files it incorrectly calculates buffer sizes, causing adjacent memory to be overwritten. An attacker who entices a user to open a specially crafted file can therefore achieve arbitrary code execution or cause a denial of service on the victim machine.

Affected Systems

The vulnerability affects Red Hat Enterprise Linux releases 6, 7, 8, and 9, because GIMP is delivered as a package in those distributions. The CNA has not specified which GIMP versions are impacted, so the exact version numbers bundled with each distribution are unknown.

Risk and Exploitability

The CVSS score of 7.3 indicates moderate to high severity, while the EPSS score of < 1% shows a low current likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Attacking requires a user to open a malicious PSP file, which is a user‑based, social‑engineering vector that can lead to remote code execution or system crash.

Remediation

Vendor Workaround

To mitigate this vulnerability, users should avoid opening untrusted Paint Shop Pro (PSP) image files with GIMP. As a general security practice, it is recommended to only process image files from trusted sources. If GIMP is not essential, consider removing the package to eliminate the attack surface.


OpenCVE Recommended Actions

  • Avoid opening untrusted Paint Shop Pro image files with GIMP.
  • Process only image files from trusted sources.
  • If GIMP is not required, consider removing the package to eliminate the attack surface.

Generated by OpenCVE AI on August 1, 2026 at 20:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6470-1 gimp security update
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:8
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_e4s:9.2::appstream
References
Type Values Removed Values Added
First Time appeared Redhat enterprise Linux Eus
Redhat enterprise Linux Update Services For Sap Solutions
CPEs cpe:2.3:a:gimp:gimp:3.2.1:*:*:*:*:*:*:*
cpe:2.3:a:redhat:enterprise_linux_update_services_for_sap_solutions:9.4:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_eus:9.6:*:*:*:*:*:*:*
Vendors & Products Redhat enterprise Linux Eus
Redhat enterprise Linux Update Services For Sap Solutions
Type Values Removed Values Added
First Time appeared Redhat rhel E4s
CPEs cpe:/a:redhat:rhel_e4s:9.4::appstream
Vendors & Products Redhat rhel E4s
References
Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:9.6::appstream
Vendors & Products Redhat rhel Eus
References
Type Values Removed Values Added
First Time appeared Gimp
Gimp gimp
Vendors & Products Gimp
Gimp gimp
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:9 cpe:/a:redhat:enterprise_linux:9::appstream
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Gimp: gimp: heap buffer overflow in read_channel_data()
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-122
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 4, 2026, 11:06 PM
Reserved
Jun 30, 2026, 4:54 PM
Status
Modified
Published
Jul 3, 2026, 7:16 PM
Modified
Nov 4, 2026, 11:17 PM