CVE-2026-58381
Gimp: gimp: double-free in read_layer_block()
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.
INFO
Published Date :
July 2, 2026, 7:45 p.m.
Last Modified :
July 2, 2026, 7:45 p.m.
Remotely Exploit :
No
Source :
redhat
Affected Products
The following products are affected by CVE-2026-58381
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | 53f830b8-0a3f-465b-8143-3b8a9948e749 |
Solution
- Update GIMP to the latest version.
- Apply vendor patches for the PSP parser.
- Avoid opening untrusted PSP files.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-58381 vulnerability anywhere in the article.