CVE-2026-58384
Received Received - Intake

Integer Overflow in GIMP PSD Parser Leads to Memory Corruption

Vulnerability report for CVE-2026-58384, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-07

Last updated on: 2026-07-07

Assigner: Red Hat, Inc.

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-07
Last Modified
2026-07-07
Generated
2026-07-07
AI Q&A
2026-07-07
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
gnome gimp *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an integer overflow in the read_RLE_channel() function of GIMP's PSD parser. Specifically, the function allocates memory for a row-length table using unchecked arithmetic, which can cause the allocated size to be smaller than needed. When a maliciously crafted PSD file exploits this, subsequent writes to the heap memory go beyond the allocated space, causing heap memory corruption.

This memory corruption can lead to serious issues such as denial of service or even arbitrary code execution, meaning an attacker could potentially run malicious code on the affected system.

Impact Analysis

The vulnerability can impact you by causing your GIMP application to crash (denial of service) or, more severely, allow an attacker to execute arbitrary code on your system. This could compromise the security and stability of your device, potentially leading to unauthorized access or control.

Detection Guidance

This vulnerability involves an integer overflow in GIMP's PSD parser, specifically in the read_RLE_channel() function when processing PSD files. Detection would primarily involve monitoring for the presence of vulnerable GIMP versions or analyzing PSD files for malicious crafting.

There are no specific detection commands or network signatures provided in the available resources.

Mitigation Strategies

To mitigate this vulnerability, you should update GIMP to a version that includes the fix committed upstream. The fix addresses the integer overflow in the PSD parser by correcting the allocation logic in the read_RLE_channel() function.

Avoid opening untrusted or suspicious PSD files with GIMP until the update is applied, as these files could exploit the vulnerability to cause memory corruption or arbitrary code execution.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-58384. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart