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.
Severity (CVSS)
| Base score | 6.1 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H |
| Provided by | CNA |
Weaknesses
- CWE-415 — Double Free
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 6 | — |
| Red Hat | Red Hat Enterprise Linux 7 | — |
| Red Hat | Red Hat Enterprise Linux 8 | — |
| Red Hat | Red Hat Enterprise Linux 9 | — |
References
- https://access.redhat.com/security/cve/CVE-2026-58381 (vdb-entry x_refsource_REDHAT)
- https://bugzilla.redhat.com/show_bug.cgi?id=2496166 (issue-tracking x_refsource_REDHAT)
- https://gitlab.gnome.org/GNOME/gimp/-/commit/b22e147b
- https://gitlab.gnome.org/GNOME/gimp/-/issues/16207
Generated from the official CVE List on 03 Jul 2026 07:05 UTC.