---
id: CVE-2026-58379
title: A flaw was found in GIMP's Paint Shop Pro (PSP) file format parser
summary: >-
  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
  special…
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-122
published: '2026-07-03'
updated: '2026-07-03'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-58379'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-58379'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2495997'
    label: secalert@redhat.com
  - url: 'https://gitlab.gnome.org/GNOME/gimp/-/commit/b630f167'
    label: secalert@redhat.com
  - url: 'https://gitlab.gnome.org/GNOME/gimp/-/issues/16205'
    label: secalert@redhat.com
tags:
  - nvd
ingestedAt: '2026-07-04T10:56:04.374Z'
epss: 0.00327
epssPercentile: 0.2309
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
