Heap Out-of-Bounds Vulnerability in GIMP by GNOME
CVE-2026-137941
7.8HIGH
What is CVE-2026-137941?
A vulnerability exists in GIMP where the Levels configuration setter fails to validate the channel enumeration before indexing fixed-size per-channel arrays. By manipulating an XCF file that employs a non-destructive Levels filter, an attacker can specify an out-of-range channel such as LUMINANCE or RGB. This error can result in unauthorized heap out-of-bounds read/write operations when the file is opened, potentially leading to application crashes or arbitrary code execution.
References
CVSS V3.1
Score:
7.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Red Hat would like to thank wooze for reporting this issue.