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

EcosystemPackageFixed inAdvisory
Debian:12gimpno fix listedDEBIAN-CVE-2026-58381
Debian:13gimp3.0.4-3+deb13u10DEBIAN-CVE-2026-58381
Debian:14gimp3.2.4-1DEBIAN-CVE-2026-58381
Ubuntu:25.10gimpno fix listedUBUNTU-CVE-2026-58381
Ubuntu:26.04:LTSgimpno fix listedUBUNTU-CVE-2026-58381

Affected products (as reported)

VendorProductVersions
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