Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property
- State
- Published
- Severity
- 7.8 High
- Published
- Nov 27, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 27, 2026
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.
| Product | Versions |
|---|---|
| Red Hat Enterprise Linux 10 Red Hat | |
| Red Hat Enterprise Linux 6 Red Hat | |
| Red Hat Enterprise Linux 7 Red Hat | |
| Red Hat Enterprise Linux 8 Red Hat | |
| Red Hat Enterprise Linux 9 Red Hat |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.8 High | redhat |
Weaknesses
- CWE-125 Out-of-bounds Read
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.