CVE-2026-18301: GIMP PSD File Parsing Integer Overflow Remote Code Execution Vulnerability
GIMP PSD File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the parsing of PSD files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29395.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Because ZDI-CAN-29395 requires user interaction (victim must visit a malicious page or open a malicious file), limit exposure by preventing users from opening untrusted PSD files or visiting untrusted webpages (e.g., enforce mail/file filtering and user guidance).
Event History
Frequently Asked Questions
What must an attacker do to exploit this issue?
The attacker must cause a target to visit a malicious page or open a malicious PSD file. Exploitation occurs during PSD parsing and can result in arbitrary code execution in the context of the current GIMP process.
Is this exploitable without user interaction?
No. The supplied severity vector indicates user interaction is required, and the vulnerability description states that the target must visit a malicious page or open a malicious file.
What level of access does successful exploitation provide?
An attacker can execute arbitrary code with the privileges of the current GIMP process. The provided impact information indicates high confidentiality, integrity, and availability impact.