CVE-2026-58381
High 7.3No known exploitationFix availableGimp: gimp: double-free in read_layer_block()
Record last updated
CVSS score
7.3
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
0.3%
Higher than 14% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
None
Not in the KEV catalog
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.
Weakness: CWE-415
Patching and mitigation
- Patch status
- Fix available (source: NVD (reference tagged Patch))
- Fix documented (source date)
- Mitigation
- None — requires opening a crafted PSP file.
- Vendor guidance
- access.redhat.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 7 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 | Not documented | Not documented | CVE Program |
| gimp | gimp | all versions up to and including 3.2.1 | Not documented | NIST NVD |
| redhat | enterprise_linux | 6.0 | Not documented | NIST NVD |
| redhat | enterprise_linux | 7.0 | Not documented | NIST NVD |
| redhat | enterprise_linux | 8.0 | Not documented | NIST NVD |
| redhat | enterprise_linux | 9.0 | Not documented | NIST NVD |
| Red Hat | Red Hat Enterprise Linux 6 (status unknown) | Not documented | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Patch
Fix documented by NVD (reference tagged Patch)
Vendor guidance and references
- https://gitlab.gnome.org/GNOME/gimp/-/commit/b22e147b (opens in a new tab)patch
- https://access.redhat.com/security/cve/CVE-2026-58381 (opens in a new tab)vdb-entry, vendor advisory, x_refsource_redhat
- RHBZ#2496166 (opens in a new tab)issue tracking, issue-tracking, vendor advisory, x_refsource_redhat
- https://gitlab.gnome.org/GNOME/gimp/-/issues/16207 (opens in a new tab)issue tracking, vendor advisory