Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.8
GIMP Fails to Properly Handle Malicious ICNS Files
CVE-2026-2047
Summary
A security issue in GIMP can allow hackers to execute malicious code on vulnerable systems. If a user opens a specially crafted ICNS file or visits a malicious webpage, an attacker may be able to take control of the system. To protect your system, ensure you have the latest version of GIMP installed and exercise caution when opening files or clicking on links from unknown sources.
What to do
No fix is available yet. Check with your software vendor for updates.
Affected software
| Vendor | Product | Affected versions | Fix available |
|---|---|---|---|
| gimp | gimp | 3.0.6 | – |
Original title
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 i...
Original description
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.
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.
nvd CVSS3.0
7.8
Vulnerability type
CWE-122
Heap-based Buffer Overflow
CWE-787
Out-of-bounds Write
- https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/2600/diffs?commit_id=dd2faa... Issue Tracking Patch Third Party Advisory
- https://www.zerodayinitiative.com/advisories/ZDI-26-120/ Third Party Advisory
Published: 20 Feb 2026 · Updated: 12 Mar 2026 · First seen: 6 Mar 2026