high7.8
CVE-2026-137941
A flaw was found in GIMP. The Levels configuration setter does not validate the channel enum...
Impact
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.
An attacker can exploit this with local access to the system, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products (Red Hat)
| Product | Affected versions |
|---|---|
| Red Hat Enterprise Linux 7 | All versions |
| Red Hat Enterprise Linux 8 | All versions |
| Red Hat Enterprise Linux 9 | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/security/cve/CVE-2026-137941
- https://gitlab.gnome.org/GNOME/gimp/-/commit/47f51b5b538cf1b27634b4c6f4f98b553138dbad
- https://gitlab.gnome.org/GNOME/gimp/-/issues/17004
- https://github.com/advisories/GHSA-f8xm-j6xg-cgjc
- https://nvd.nist.gov/vuln/detail/CVE-2026-137941