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.
CVE-2026-58381
CVSS base score
6.1 (v3.1)
Severity
MEDIUM
Attack vector
Local
Weakness
CWE-415
Last modified
November 24, 2026
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
Affected products
gimp gimp
redhat enterprise linux
References
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking, Vendor Advisory
- gitlab.gnome.org Patch
- gitlab.gnome.org Issue Tracking, Vendor Advisory