cve.bz

CVE-2026-58381 Double Free

7.3 highEPSS 0.3%Fix available

High (7.3). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.3 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 22nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-07-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-415 Double Free
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-58381 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-58381?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-58381?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-58381 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gimp:gimpthrough 3.2.1
redhat:enterprise_linux6.0
redhat:enterprise_linux7.0
redhat:enterprise_linux8.0
redhat:enterprise_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12gimpno fix listedDEBIAN-CVE-2026-58381
Debian13gimp3.0.4-3+deb13u10DEBIAN-CVE-2026-58381 DSA-6470-1
Debian14gimp3.2.4-1DEBIAN-CVE-2026-58381
Ubuntu25.10, 26.04:LTS, Pro:16.04:LTS and 4 moregimpno fix listedUBUNTU-CVE-2026-58381
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP7gimp2.10.30-150400.3.58.1SUSE-SU-2026:3399-1
openSUSELeap 16.0gimp3.0.8-bp160.5.1openSUSE-SU-2026:21359-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw is rated as Moderate. A double-free vulnerability within GIMP's Paint Shop Pro (PSP) file format parser can lead to memory corruption, potentially resulting in denial of service or arbitrary code execution. Successful exploitation requires a local attacker to persuade a user to open a specially crafted PSP file using GIMP.

Red Hat's mitigation

None — requires opening a crafted PSP file.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6gimpOut of support scope
Red Hat Enterprise Linux 7gimpFix deferred
Red Hat Enterprise Linux 8gimp:2.8/gimpFix deferred
Red Hat Enterprise Linux 9gimpFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-58381.

References

Check your stackJSON