CVE-2026-58381
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.
- Score
- CVSS 3.1 7.3 High
- Status
- Analyzed - secalert@redhat.com
- Published
- 2026-07-02
- Last modified
- 2026-07-07
- Weaknesses
- CWE-415
Affected products
References
- https://access.redhat.com/security/cve/CVE-2026-58381
- https://bugzilla.redhat.com/show_bug.cgi?id=2496166
- https://gitlab.gnome.org/GNOME/gimp/-/commit/b22e147b
- https://gitlab.gnome.org/GNOME/gimp/-/issues/16207