CVE-2026-18306 GIMP SGI File Parsing Integer Overflow Remote Code Execution Vulnerability
Remote attackers can execute arbitrary code by tricking users into opening malicious SGI files in GIMP due to an integer overflow.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-18306?
CVE-2026-18306 is a high-severity vulnerability in Gimp Gimp, published on 20 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
GIMP SGI 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 SGI files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29396.
Weakness: CWE-190
Which versions are affected by CVE-2026-18306?
It affects 1 product.
Products include Gimp Gimp.
How do I fix CVE-2026-18306?
Apply the vendor's patch.
Is CVE-2026-18306 being exploited?
There is no known exploitation of CVE-2026-18306 in the wild and no public exploit code.
Other vulnerabilities in Gimp Gimp
Sources
Also known as DEBIAN-CVE-2026-18306, GHSA-7pm3-57j9-653g, UBUNTU-CVE-2026-18306.