CVE-2026-137941
Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property
- Severity
- high CVSS 7.8 (v3.1)
- Affects
- Red Hat Enterprise Linux 9 · Red Hat
- Weakness
- CWE-125: Out-of-bounds Read
- Published
- 27 November 2026 by redhat
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.