Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property
- CVE-2026-137941
- GHSA-f8xm-j6xg-cgjc
- EUVD-2026-137511
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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Red Hat Red Hat Enterprise Linux 10
No versions listed
Red Hat Red Hat Enterprise Linux 6
No versions listed
Red Hat Red Hat Enterprise Linux 7
No versions listed
Red Hat Red Hat Enterprise Linux 8
No versions listed
Red Hat Red Hat Enterprise Linux 9
Affected versions Fixed in from 2:3.0.4-8.el9_9.10 onwards: not affected none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.