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.
Problem types
Product status
Timeline
| 2026-04-11: | Reported to Red Hat. |
| 2026-04-11: | Made public. |
Credits
Red Hat would like to thank bb1abu for reporting this issue.
References
access.redhat.com/security/cve/CVE-2026-58381
bugzilla.redhat.com/show_bug.cgi?id=2496166 (RHBZ#2496166)
gitlab.gnome.org/GNOME/gimp/-/commit/b22e147b
gitlab.gnome.org/GNOME/gimp/-/issues/16207