# CVE-2026-137941: Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-11-27T20:29:35.296Z
- Modified: 2026-11-30T16:17:18.037Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- gimp: no versions given
- gimp:2.8/gimp: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-137941> (vdb-entry)
- <https://gitlab.gnome.org/GNOME/gimp/-/commit/47f51b5b538cf1b27634b4c6f4f98b553138dbad>
- <https://gitlab.gnome.org/GNOME/gimp/-/issues/17004>

## Sources

- CVE List: [CVE-2026-137941](https://www.cve.org/CVERecord?id=CVE-2026-137941), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-137941](https://nvd.nist.gov/vuln/detail/CVE-2026-137941), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-137941 · Whole record: https://cve.day/CVE-2026-137941.json · Rebuilt by cve.day 2026-11-30T16:32:21.583Z
