CVE-2026-137941

7.8High

Published Nov 27, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.1-flash-lite

7.8CVSS

High

0CVSS v3.110

Attack vector
Local
Complexity
Low
Privileges
None
User action
Required
Impact
Full C/I/A compromise
Weakness
CWE-125

What an attacker gets

Attackers can execute arbitrary code or crash GIMP by tricking a user into opening a malicious XCF file. This requires the user to open a crafted file containing an out-of-range channel index.

Root cause

The Levels configuration setter fails to validate the channel enum before using it to index fixed-size arrays, leading to a heap out-of-bounds read and write.

Affected versions

Versions not listed — check the vendor advisory.

CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Fix & remediation

Update to the latest version of GIMP once a patch is released by your distribution. Avoid opening untrusted XCF files until the software is updated.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

A flaw was found in GIMP. The Levels configuration setter does not validate the channel enum before using it to index fixed-size per-channel arrays. A crafted XCF file with a non-destructive Levels filter can set an out-of-range channel (LUMINANCE or RGB), causing a heap out-of-bounds read and write when the file is opened. This may lead to a crash or arbitrary code execution.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-137941

More fully triaged vulnerabilities you may want to check next.