Skip to main content

A flaw was found in GIMP's PSP file format parser. (CVE-2026-58381)

0
Medium
Published: 07/02/2026 (07/02/2026, 20:17:00 UTC)
Source: GCVE Database
Product: gimp

Description

A double-free vulnerability exists in GIMP's PSP file format parser within the read_layer_block() function. This flaw can cause memory corruption when processing specially crafted PSP files, potentially leading to denial of service or arbitrary code execution. Exploitation requires a local attacker to convince a user to open a malicious PSP file using GIMP. The vulnerability affects multiple specific GIMP versions as listed. The CVSS v3.1 score is 7.3, indicating a medium severity. No official patch or mitigation is currently provided; the issue requires opening a crafted file to trigger.

CVSS v3.1

Score 7.3high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected software

Ubuntu:Pro:16.04:LTSmore threats →ghsa
gimp
pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps/xenial
Affected versions
=2.8.14-1ubuntu2=2.8.14-1.2ubuntu1=2.8.16-1ubuntu1=2.8.16-1ubuntu1.1=2.8.16-1ubuntu1.1+esm1=2.8.16-1ubuntu1.1+esm2=2.8.16-1ubuntu1.1+esm3
Ubuntu:Pro:18.04:LTSmore threats →ghsa
gimp
pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps/bionic
Affected versions
=2.8.20-1=2.8.20-1.1=2.8.20-2=2.8.22-1=2.8.22-1ubuntu0.1~esm1=2.8.22-1ubuntu0.1~esm2=2.8.22-1ubuntu0.1~esm3
Ubuntu:Pro:20.04:LTSmore threats →ghsa
gimp
pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps/focal
Affected versions
=2.10.8-2=2.10.14-2=2.10.14-2build1=2.10.14-2ubuntu1=2.10.14-3=2.10.18-1=2.10.18-1ubuntu0.1=2.10.18-1ubuntu0.1+esm1=2.10.18-1ubuntu0.1+esm2=2.10.18-1ubuntu0.1+esm3
Ubuntu:Pro:22.04:LTSmore threats →ghsa
gimp
pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps/jammy
Affected versions
=2.10.24-2=2.10.28-1=2.10.30-1=2.10.30-1build1=2.10.30-1ubuntu0.1=2.10.30-1ubuntu0.1+esm1=2.10.30-1ubuntu0.1+esm2=2.10.30-1ubuntu0.1+esm3
Ubuntu:Pro:24.04:LTSmore threats →ghsa
gimp
pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps/noble
Affected versions
=2.10.34-1=2.10.36-1=2.10.36-2=2.10.36-3build2=2.10.36-3build3=2.10.36-3ubuntu0.24.04.1=2.10.36-3ubuntu0.24.04.1+esm1=2.10.36-3ubuntu0.24.04.1+esm2=2.10.36-3ubuntu0.24.04.1+esm3
Ubuntu:25.10more threats →ghsa
gimp
pkg:deb/ubuntu/gimp?arch=source&distro=questing
Affected versions
=3.0.2-1=3.0.2-2=3.0.2-3=3.0.2-3.1=3.0.4-1=3.0.4-2=3.0.4-3=3.0.4-5=3.0.4-6=3.0.4-6.1
Ubuntu:26.04:LTSmore threats →ghsa
gimp
pkg:deb/ubuntu/gimp?arch=source&distro=resolute
Affected versions
=3.0.4-6.1=3.0.4-6.2=3.0.6-1=3.2.0~RC2-2=3.2.0~RC2-3=3.2.0~RC2-3.1=3.2.0~RC2-3.2=3.2.0~RC2-3.3=3.2.0~RC3-1=3.2.0-1=3.2.2-1=3.2.2-1ubuntu0.26.04.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/24/2026, 06:50:09 UTC

Technical Analysis

CVE-2026-58381 is a double-free vulnerability in GIMP's PSP file format parser, specifically in the read_layer_block() function. When a specially crafted PSP file is processed, the double-free condition can corrupt memory, potentially allowing denial of service or arbitrary code execution. Successful exploitation requires local attacker interaction to have a user open the malicious file. The vulnerability affects numerous specific GIMP versions, primarily in the 2.8.x, 2.10.x, and 3.0.x series as enumerated. The vulnerability is rated medium severity with a CVSS 3.1 score of 7.3 (AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H). No official fix or mitigation is currently available according to the Red Hat advisory, which states no mitigation beyond avoiding opening crafted PSP files.

Potential Impact

The vulnerability can lead to memory corruption due to a double-free condition, which may cause denial of service or enable arbitrary code execution. Exploitation requires local attacker privileges and user interaction (opening a crafted PSP file). Confidentiality, integrity, and availability impacts are all rated high in the CVSS vector, reflecting the potential for significant damage if exploited.

Mitigation Recommendations

No official fix or mitigation is currently available. The vulnerability requires opening a specially crafted PSP file to be exploited. Users should avoid opening untrusted PSP files with GIMP until a patch is released. Monitor vendor advisories for updates on remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-58381
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ab4be62f7a7c54106f0aaa5

Added to database: 09/24/2026, 06:08:34 UTC

Last enriched: 09/24/2026, 06:50:09 UTC

Last updated: 09/24/2026, 06:50:09 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses