CVE-2026-137941
7.8high
Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property
- Severity
- 7.8high CVSS:3.1 by redhat
- Exploit likelihood
- 0.26% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gimp | Not specified | CVE List |
| gimp:2.8/gimp | Not specified | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-137941 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-137941 changed 2026-11-30 | Public domain |