CVE-2026-2047: GIMP ICNS File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
GIMP ICNS File Parsing Heap-based Buffer 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 ICNS files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28530.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Because exploit requires user interaction (visit a malicious page or open a malicious file), reduce exposure by preventing users from opening untrusted files/ICNS content and restricting access to untrusted web content that could deliver the malicious file/page.
- Compensating control
Apply network/user isolation controls to limit inbound delivery of malicious content that could prompt users to open ICNS files (e.g., via email/web).
Event History
Frequently Asked Questions
What is the severity of CVE-2026-2047?
CVE-2026-2047 has a high severity rating due to its potential for remote code execution.
How do I fix CVE-2026-2047?
To fix CVE-2026-2047, update to the latest version of GIMP that addresses this vulnerability.
What systems are affected by CVE-2026-2047?
CVE-2026-2047 affects all installations of GIMP that can parse ICNS files.
Can CVE-2026-2047 be exploited remotely?
Yes, CVE-2026-2047 can be exploited by remote attackers to execute arbitrary code.
What kind of vulnerability is CVE-2026-2047?
CVE-2026-2047 is a heap-based buffer overflow vulnerability related to file parsing.