CVE-2026-58381

medium

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.

References

https://gitlab.gnome.org/GNOME/gimp/-/issues/16207

https://gitlab.gnome.org/GNOME/gimp/-/commit/b22e147b

https://bugzilla.redhat.com/show_bug.cgi?id=2496166

https://access.redhat.com/security/cve/CVE-2026-58381

Details

Source: Mitre, NVD

Published: 2026-07-02

Updated: 2026-07-02

Risk Information

CVSS v2

Base Score: 5.7

Vector: CVSS2#AV:L/AC:L/Au:S/C:P/I:P/A:C

Severity: Medium

CVSS v3

Base Score: 6.1

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

Severity: Medium