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.
Affected products
gimp: gimp; redhat: enterprise linux
References4
- access.redhat.com/security/cve/CVE-2026-58381 Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2496166 Issue TrackingVendor Advisory
- gitlab.gnome.org/GNOME/gimp/-/issues/16207 Issue TrackingVendor Advisory
- gitlab.gnome.org/GNOME/gimp/-/commit/b22e147b Patch
Metrics
- CVSS 3.1
-
7.3
HIGH
Score source: NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 22 · as of 16 November 2026
- CWE
- CWE-415
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.