---
id: CVE-2026-58384
title: A flaw was found in GIMP's PSD parser
summary: >-
  A flaw was found in GIMP's PSD parser. An integer overflow in
  read_RLE_channel() can cause an undersized heap allocation for the RLE
  row-length table, after which subsequent per-row writes corrupt heap memory.
  This could lead to memory c…
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-190
vendor: gimp
product: gimp
affected:
  - gimp = 3.2.4
  - enterprise_linux = 9.0
published: '2026-07-07'
updated: '2026-07-16'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-58384'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:40751'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-58384'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2497431'
    label: secalert@redhat.com
  - url: 'https://gitlab.gnome.org/GNOME/gimp/-/commit/da29e217'
    label: secalert@redhat.com
  - url: 'https://gitlab.gnome.org/GNOME/gimp/-/issues/16216'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00324
epssPercentile: 0.22687
ingestedAt: '2026-07-17T13:12:07.588Z'
---

## Overview

A flaw was found in GIMP's PSD parser. An integer overflow in read_RLE_channel() can cause an undersized heap allocation for the RLE row-length table, after which subsequent per-row writes corrupt heap memory. This could lead to memory corruption, potentially resulting in denial of service or arbitrary code execution.

## Affected

- `gimp = 3.2.4`
- `enterprise_linux = 9.0`

## Remediation

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