Gimp: arbitrary code execution
HighAI-generated2026-11-29
- CVE
- CVE-2026-137941
- Severity
- High (CVSS 7.8)
- Attack conditions
- With local access to the device · No account needed · A user must take some action
- Exploitation probability (EPSS)
- 0.2% (within 30 days; FIRST EPSS, 30 November 2026)
Summary
GIMP is vulnerable to a flaw in its Levels configuration that can be triggered by a specially crafted XCF file, potentially leading to a crash or arbitrary code execution.
Details
According to the NVD record, GIMP contains a flaw in the Levels configuration setter where the channel enum is not validated before being used to index fixed-size per-channel arrays. A malicious XCF file that includes a non-destructive Levels filter can specify an out-of-range channel such as LUMINANCE or RGB.
An attacker who convinces a user to open such a crafted file can cause the program to read and write outside of allocated memory. This may result in a crash or allow the attacker to execute arbitrary code on the victim's system.
What to do
The source record does not name a specific patch, fixed version or workaround. General measures:
- Follow the vendor's security advisories.
- Apply the update when it is released.
- Limit access to the product as much as possible, especially from the internet.
Sources
Timeline
- 27 November 2026 NVD record published
- 29 November 2026 This article was written