A flaw was found in GIMP's PSP file format parser. (CVE-2026-58381)
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.
AI Analysis
Technical Summary
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.
A flaw was found in GIMP's PSP file format parser. (CVE-2026-58381)
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
Affected software
pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps/xenialpkg:deb/ubuntu/gimp?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/gimp?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/gimp?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/gimp?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/gimp?arch=source&distro=questingpkg:deb/ubuntu/gimp?arch=source&distro=resoluteRun 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.