Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious PSP file
  2. Delivery
    Deliver to victim via email or download
  3. Exploit
    Victim opens file in GIMP
  4. Execution
    Double-free triggered in read_layer_block()
  5. Impact
    Heap corruption yields crash or code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
Exploitation Conditions

Exploitation requires a local victim to open a specially crafted Paint Shop Pro (.psp) format file in GIMP, invoking the PSP import parser and reaching read_layer_block(). It is not remotely triggerable without user action: the CVSS vector is AV:L with UI:R (required user interaction), so the attack depends on social engineering the target into opening the malicious image. No special GIMP configuration or elevated privileges are needed beyond the ability to run GIMP and open a file, which limits realistic impact to client-side, per-user compromise rather than server or unattended exploitation.

Impact

This is a genuine but low-urgency memory-corruption flaw. The Red Hat-provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H, 7.3) is dominated by local, user-interaction-gated preconditions: the attacker cannot reach read_layer_block() over a network - a local user must open a specially crafted PSP (Paint Shop Pro) file in GIMP. All exploitation signals point away from active/widespread abuse: EPSS is 0.12% (2nd percentile), CISA SSVC records Exploitation=none, Automatable=no, and Technical Impact=partial, there is no KEV listing, and no public exploit was provided. The C:H/I:H/A:H rating reflects the theoretical worst case (arbitrary code execution from a double-free), but the description itself hedges ('potentially leading to... arbitrary code execution'), and SSVC's 'partial' technical impact suggests reliable code execution is not demonstrated - realistic outcome is a crash/DoS. One notable inconsistency to verify: the vendor assigns PR:L, yet a file-parsing bug typically needs no attacker privileges (the victim's action is already captured by UI:R), so PR:N/UI:R is the more defensible modeling and would slightly raise the base score. Net: real, patchable, but a routine-priority desktop client-side issue, not an emergency.

Exploit ScenarioDerived

An attacker distributes a malicious .psp image (via email, download, or a shared file store) and social-engineers a victim into opening it in GIMP. When GIMP's PSP parser reaches read_layer_block(), the crafted layer data triggers a double-free (CWE-415), corrupting heap metadata and most likely crashing GIMP, with a possibility of code execution in the user's context. No public proof-of-concept exploit was provided, and exploitation requires local user interaction rather than any remote/network path.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Sep 22, 2026

Memory corruption in GIMP's Paint Shop Pro (.psp) import parser lets an attacker crash the application or possibly execute code by persuading a victim to open a crafted PSP image file. The root cause is a double-free (CWE-415) in the read_layer_block() routine; exploitation requires local user interaction to open the file and results in per-user, client-side compromise rather than server-side or unattended exploitation. There is no public exploit identified at time of analysis, the SSVC decision framework rates exploitation as 'none' and automatable as 'no', and EPSS is low at 0.12% (2nd percentile), yet Red Hat tracks the defect across RHEL 6 through 9 and a vendor patch plus an upstream commit are available.

Earlier versions of this analysis (1)
v1 Jul 02, 2026 - 20:40 CVSS 6.1

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.

RemediationAI

Update GIMP to a build that includes the upstream fix for the PSP parser; the authoritative patch reference is the GNOME GitLab commit b22e147b (issue 16207), and Red Hat has published a vendor patch/advisory path via https://access.redhat.com/security/cve/CVE-2026-58381 and https://bugzilla.redhat.com/show_bug.cgi?id=2496166 - install the updated gimp package for your RHEL 6/7/8/9 release and any downstream rebuilds, noting that an exact patched GIMP version number is not disclosed in the available data and should be confirmed with the vendor advisory. If immediate patching is not possible, the most effective compensating control is to prevent untrusted .psp files from reaching the parser: remove or rename the file-psp plug-in from the GIMP plug-ins directory (or block the associated MIME type in mail gateways, browsers, and file handlers), accepting the trade-off that legitimate Paint Shop Pro images can no longer be opened by that installation. Running GIMP under a sandbox or mandatory access-control confinement (Flatpak/Snap sandboxing, SELinux or AppArmor profile restricted to the user's home directory) limits the blast radius of heap corruption but can break plug-in access to files outside the sandbox. Training users not to open PSP files from untrusted sources addresses the required UI:R interaction, and because exploitation is not automatable (SSVC Automation: no) and no public exploit code exists, these measures are proportionate to a low-urgency, client-side defect rather than an emergency response.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GIMP ships a set of file-format plug-ins, one of which (file-psp) parses Paint Shop Pro image files. During parsing, read_layer_block() handles the per-layer data structures in a PSP file and, on a crafted input, releases the same heap allocation twice. This is a classic double-free (CWE-415), a memory-safety defect class that corrupts heap metadata and can be steered toward arbitrary write, denial of service via crash, or, in favorable allocator layouts, code execution in the context of the GIMP process. Unlike a buffer overflow, the corruption arises from freeing an already-freed pointer and reusing or freeing it again. The CPE data in the intelligence feed maps the issue to Red Hat Enterprise Linux 6, 7, 8, and 9 packages rather than to an upstream GIMP CPE, indicating the flaw is tracked as a distribution-level backport target; the upstream fix is recorded in the GNOME GitLab commit b22e147b and issue 16207. The assessed CVSS vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) places this as a local, user-interaction-driven attack with high confidentiality, integrity, and availability impact on the single affected user session.

Know when Gimp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

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

Local file-parse bug needing no attacker privileges (PR:N) but victim must open the crafted PSP (UI:R); worst-case double-free code execution justifies C/I/A:H.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/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

Primary rating from Vendor (redhat).

CVSS VectorNVD

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

Lifecycle Timeline

3
Analysis Updated
Sep 22, 2026 - 15:30 vuln.today
v2 - CVSS changed
Severity Changed
Sep 22, 2026 - 15:22 NVD
MEDIUM HIGH
CVSS changed
Sep 22, 2026 - 15:22 NVD
6.1 (MEDIUM) 7.3 (HIGH)

DescriptionNVD

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.

Executive ViewAI

Why It Matters

GIMP’s Paint Shop Pro image import parser contains a high-severity memory-corruption flaw (CVE-2026-58381) that can crash the application or potentially allow code execution when a user opens a crafted .psp file. This is a client-side, per-user risk that primarily affects workstation users who work with PSP files-such as creative, design, or engineering staff-and is not remotely exploitable without user interaction. Leadership should care because successful exploitation could disrupt productivity, expose local user data, or provide a foothold on endpoints, though no public exploit has been identified and vendor patches are available.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
GIMP is the most widely deployed open-source image editor, shipped by major Linux distros
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)NVD

cpe:2.3:a:red_hat:red_hat_enterprise_linux_6:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_7:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*

More in Gimp

View all
CVE-2012-2763 HIGH POC
7.5 Jul 12

Buffer overflow in the readstr_upto function in plug-ins/script-fu/tinyscheme/scheme.c in GIMP 2.6.12 and earlier, and p

CVE-2012-5576 HIGH POC
7.5 Dec 18

Multiple stack-based buffer overflows in file-xwd.c in the X Window Dump (XWD) plug-in in GIMP 2.8.2 allow remote attack

CVE-2017-17789 HIGH POC
7.8 Dec 20

In GIMP 2.8.22, there is a heap-based buffer overflow in read_channel_data in plug-ins/common/file-psp.c. Rated high sev

CVE-2012-3236 MEDIUM POC
4.3 Jul 12

fits-io.c in GIMP before 2.8.1 allows remote attackers to cause a denial of service (NULL pointer dereference and applic

CVE-2022-32990 MEDIUM POC
5.5 Jun 24

An issue in gimp_layer_invalidate_boundary of GNOME GIMP 2.10.30 allows attackers to trigger an unhandled exception via

CVE-2022-30067 MEDIUM POC
5.5 May 17

GIMP 2.10.30 and 2.99.10 are vulnerable to Buffer Overflow. Rated medium severity (CVSS 5.5), this vulnerability is no a

CVE-2018-12713 CRITICAL
9.1 Jun 24

GIMP through 2.10.2 makes g_get_tmp_dir calls to establish temporary filenames, which may result in a filename that alre

CVE-2025-5473 HIGH
8.8 Jun 06

Critical remote code execution vulnerability in GIMP's ICO file parser caused by an integer overflow (CWE-190) that lack

CVE-2026-2044 HIGH
8.8 Feb 20

Remote code execution in GIMP 3.0.6 allows attackers to run arbitrary code by tricking a user into opening a malicious P

CVE-2026-0797 HIGH
8.8 Feb 20

Remote code execution in GIMP 3.2.0-rc1 lets attackers run arbitrary code by tricking a user into opening a malicious IC

CVE-2016-4994 HIGH
7.8 Jul 12

Use-after-free vulnerability in the xcf_load_image function in app/xcf/xcf-load.c in GIMP allows remote attackers to cau

CVE-2026-18307 HIGH
7.8 Aug 20

Heap-based buffer overflow in GIMP's TIF file parser enables remote code execution when a user opens a crafted TIFF imag

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

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