ZDI-CAN-29401: ZDI-26-462: GIMP APNG 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 APNG 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.
Other sources
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 ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2026-18309.
— ZDI
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch ZDI-26-462 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch CVE-2026-18309
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-29401?
The severity of ZDI-CAN-29401 is rated as 7.8 on the CVSS scale.
How do I fix ZDI-CAN-29401?
To fix ZDI-CAN-29401, ensure you update to the latest version of GIMP that addresses this vulnerability.
What are the potential impacts of ZDI-CAN-29401?
ZDI-CAN-29401 allows remote attackers to execute arbitrary code on affected GIMP installations.
Is user interaction required to exploit ZDI-CAN-29401?
Yes, user interaction is required as the victim must open a malicious file or visit a malicious webpage.
What software is affected by ZDI-CAN-29401?
The software affected by ZDI-CAN-29401 is GIMP.