Arbitrary Code Execution in GIMP via GIMPressionist Preset Files
A memory corruption vulnerability in GIMP allows attackers to achieve arbitrary code execution by tricking a user into opening a maliciously crafted GIMPressionist preset file.
CVE search metadata
CVE search record: CVE-2026-97185. Severity: high. CVSS: 7.8. KEV: no. Product: GIMP. Brief: Arbitrary Code Execution in GIMP via GIMPressionist Preset Files. Brief link: https://feed.craftedsignal.io/briefs/2026-09-gimp-memory-corruption/
A memory corruption vulnerability (CVE-2026-97185) exists in the GIMPressionist plug-in within GIMP. The flaw occurs because the plug-in fails to properly validate vector indices before performing write operations into fixed-size arrays when parsing GIMPressionist preset files. An attacker can exploit this by crafting a malicious preset file that triggers an out-of-bounds write. If a user is convinced to load this specially crafted file into GIMP, the resulting memory corruption can lead to application crashes or allow for arbitrary code execution in the context of the user running the software. This vulnerability represents a significant risk for users who frequently import configuration or preset files from untrusted sources, as the exploitation is triggered through standard application functionality.
Impact
Successful exploitation of this vulnerability allows an attacker to gain code execution on the target system. This could lead to full system compromise, data theft, or the installation of persistent backdoors depending on the privileges of the user running GIMP. The attack surface includes any environment where GIMP is installed on Windows, Linux, or macOS systems.
Recommendation
Detection and mitigation should focus on preventing the execution of GIMP with untrusted configuration files and monitoring for abnormal process behavior associated with GIMP.
- Update GIMP to the latest version once a patch is provided by the GIMP development team to resolve CVE-2026-97185.
- Implement application control policies to restrict the ability of users to load configuration files from non-standard or external locations.
- Monitor for GIMP process crashes or unexpected termination events which may indicate exploitation attempts.
Immediate actions
Monitor security advisories from GIMP for the release of a patched version.
Mitigations
Advise users to avoid loading GIMPressionist preset files from untrusted sources.
CVE-2026-97185