Skip to main content

GIMP CVE-2026-58381

| EUVDEUVD-2026-41434 MEDIUM
Double Free (CWE-415)
2026-07-02 redhat GHSA-pfjw-r4vx-pmfw
6.1
CVSS 3.1 · Vendor: redhat
Share

Severity by source

Vendor (redhat) PRIMARY
6.1 MEDIUM
AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
vuln.today AI
6.1 MEDIUM

File parsed locally by the running user account (AV:L/PR:L), mandatory victim interaction to open the crafted file (UI:R), reliable crash (A:H) with limited heap corruption impact (C:L/I:L) and no scope change.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE
6.6 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Red Hat
6.1 MEDIUM
qualitative

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High

Lifecycle Timeline

1
Analysis Generated
Jul 02, 2026 - 20:40 vuln.today

DescriptionCVE.org

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.

AnalysisAI

Double-free memory corruption in GIMP's PSP file format parser exposes local users to denial of service and potential arbitrary code execution when opening a specially crafted Paint Shop Pro image file. The flaw in read_layer_block() allows heap memory corruption that reliably crashes GIMP and, in a more sophisticated exploitation scenario, could enable arbitrary code execution with the privileges of the victim user. No public exploit has been identified and this vulnerability does not appear in the CISA KEV catalog, though upstream tagging of the issue as RCE-capable warrants patching in environments where GIMP users may open untrusted image files.

Technical ContextAI

GIMP (GNU Image Manipulation Program) includes a parser for the PSP format - the native file format of Corel/Jasc Paint Shop Pro. CWE-415 (Double Free) arises when a heap-allocated memory region is passed to free() more than once without proper state management, corrupting the allocator's metadata. In this case, the vulnerability resides in read_layer_block(), the function responsible for deserializing per-layer data blocks from PSP files. Heap allocator corruption from a double-free can manifest as a crash (reliable DoS), heap layout manipulation enabling control-flow hijack, or limited memory disclosure - consistent with the CVSS scoring of C:L/I:L/A:H. The CPE data identifies the affected packages as GIMP distributed within Red Hat Enterprise Linux 6, 7, 8, and 9, covering a broad range of RHEL versions. The upstream issue is tracked at gitlab.gnome.org/GNOME/gimp/-/issues/16207.

RemediationAI

An upstream fix is available via GitLab commit b22e147b (https://gitlab.gnome.org/GNOME/gimp/-/commit/b22e147b); however, a tagged GIMP release incorporating this commit has not been independently confirmed from the available data, so this should be treated as an upstream fix pending a formal release. Red Hat users on RHEL 7, 8, and 9 should monitor https://access.redhat.com/security/cve/CVE-2026-58381 and apply the RHEL package update when it becomes available via standard yum/dnf channels. RHEL 6 is end-of-life and will not receive patches without an active Extended Lifecycle Support subscription - users should consider migrating to a supported RHEL release. As a compensating control pending a patch, instruct users to avoid opening PSP-format files (.psp, .pspimage) from untrusted or unverified sources in GIMP. Administrators can restrict PSP file-type associations at the desktop environment level to prevent accidental opening, with the trade-off of breaking legitimate PSP file workflows. Blocking ingress of PSP files at mail gateways or file-sharing platforms reduces the social engineering delivery surface.

CVE-2026-18663 MEDIUM
5.9 Aug 12

Heap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash

CVE-2026-4480 CRITICAL POC
9.0 May 26

Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft

CVE-2026-59090 CRITICAL
9.9 Aug 10

Arbitrary code execution in GIMP's PSD import plugin allows an attacker to run code in the context of the user who opens

CVE-2026-18922 CRITICAL
9.8 Sep 07

Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo

CVE-2026-14544 CRITICAL
9.8 Jul 03

Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter

CVE-2026-76578 CRITICAL
9.8 Sep 07

Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a

CVE-2026-5121 HIGH
7.5 Mar 30

Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe

CVE-2026-33845 CRITICAL
9.1 Apr 30

Out-of-bounds read in the GnuTLS DTLS handshake reassembly logic lets remote unauthenticated attackers trigger an intege

CVE-2026-16526 HIGH
8.8 Jul 30

Local privilege escalation in Performance Co-Pilot (PCP) on Red Hat Enterprise Linux 6 through 10 and OpenShift Containe

CVE-2026-11610 HIGH
8.8 Jul 07

Denial of service in Red Hat / 389 Directory Server (389-ds-base, versions since ~1.3.2/2013) allows an authenticated LD

CVE-2026-14474 HIGH
8.8 Jul 07

Local-to-domain-wide root privilege escalation in SSSD's LDAP sudo provider allows an authenticated LDAP directory user

CVE-2026-52720 HIGH
8.8 Jun 15

Heap buffer overflow in GStreamer's librfb (RFB/VNC client) allows a malicious VNC server to corrupt heap memory on a co

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Leap 16.0 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected
SUSE Linux Enterprise Workstation Extension 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 Affected

Share

CVE-2026-58381 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy