CVE Database›Document archive›CVE-2026-58381

CVE-2026-58381

gimp: gimp: Double-free in read_layer_block()

Loading…

Severity

Moderate

Red Hat Product Security

6.1

CVSS 3.1

Review impact separately from score.

Published · April 11, 2026

Updated · September 23, 2026

Description

A flaw was found in GIMP's PSP file format parser. A double-free condition occurs in the read_layer_block() function when processing a specially crafted PSP file. This could allow an attacker to cause memory corruption, potentially leading to denial of service or arbitrary code execution.

Statement

This flaw is rated as Moderate. A double-free vulnerability within GIMP's Paint Shop Pro (PSP) file format parser can lead to memory corruption, potentially resulting in denial of service or arbitrary code execution. Successful exploitation requires a local attacker to persuade a user to open a specially crafted PSP file using GIMP.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

None — requires opening a crafted PSP file.

CVSS / CWE

CVSS 3.1 · 6.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H

CWE-415 · Double Free