A flaw was found in GIMP's PSP file format parser. A double-free condition occurs in the readlayerblock() 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.
{
"cwe_ids": [
"CWE-415"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58381.json",
"cna_assigner": "redhat"
}