{"id":"CVE-2026-58381","summary":"Gimp: gimp: double-free in read_layer_block()","details":"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.","modified":"2026-07-17T18:29:40.256710727Z","published":"2026-07-02T19:45:33.777Z","related":["openSUSE-SU-2026:21359-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58381.json","cna_assigner":"redhat","cwe_ids":["CWE-415"]},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-58381"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58381.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58381"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2496166"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/gimp/-/issues/16207"},{"type":"FIX","url":"https://gitlab.gnome.org/GNOME/gimp/-/commit/b22e147b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.gnome.org/gnome/gimp","events":[{"introduced":"0"},{"fixed":"b22e147b"}],"database_specific":{"source":"REFERENCES"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58381.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H"}]}