High severity · published Jul 2, 2026
CVE-2026-58381
Gimp: gimp: double-free in read_layer_block()
7.3
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 21% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RH
Red Hat Enterprise Linux 6 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 7 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 8 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 9 · Red Hat
All versions, or not specified · source: vendor
EL
Enterprise Linux · Redhat
6.0; 7.0; 8.0; 9.0 · source: NVD
GI
Gimp · Gimp
through 3.2.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-58381
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-58381
Vendor Advisory
https://access.redhat.com/security/cve/CVE-2026-58381
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2496166
Patch
https://gitlab.gnome.org/GNOME/gimp/-/commit/b22e147b
Vendor Advisory
https://gitlab.gnome.org/GNOME/gimp/-/issues/16207
More from Red Hat Enterprise Linux 6
8.8
CVE-2025-31277
Apple Multiple Products Buffer Overflow Vulnerability
7.5
CVE-2026-34486
Apache Tomcat: Fix for CVE-2026-29146 allowed bypass of EncryptInterceptor
10.0
CVE-2026-4692
Sandbox escape in the Responsive Design Mode component
10.0
CVE-2026-4689
Sandbox escape due to incorrect boundary conditions, integer overflow in the XPCOM component
10.0
CVE-2026-4688
Sandbox escape due to use-after-free in the Disability Access APIs component
