Vulnerability · Published Jul 2, 2026 · Assigned by redhat
CVE-2026-58381Gimp: gimp: double-free in read_layer_block()
Medium 6.1
In plain English
A medium-severity double free in Red Hat Enterprise Linux 6 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.3%top 78.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | gimp | no fix listed | DEBIAN-CVE-2026-58381 |
| Debian:13 | gimp | 3.0.4-3+deb13u10 | DEBIAN-CVE-2026-58381 |
| Debian:14 | gimp | 3.2.4-1 | DEBIAN-CVE-2026-58381 |
| Ubuntu:25.10 | gimp | no fix listed | UBUNTU-CVE-2026-58381 |
| Ubuntu:26.04:LTS | gimp | no fix listed | UBUNTU-CVE-2026-58381 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
Weakness: CWE-415 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
References
- https://access.redhat.com/security/cve/CVE-2026-58381 vdb-entry, x_refsource_REDHAT
- RHBZ#2496166 issue-tracking, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/gimp/-/commit/b22e147b
- https://gitlab.gnome.org/GNOME/gimp/-/issues/16207