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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-27 · Modified: 2026-12-02
- Aliases: DEBIAN-CVE-2026-137941, UBUNTU-CVE-2026-137941
- Record: https://cvemate.com/vulnerability/CVE-2026-137941 · JSON: https://cvemate.com/vulnerability/CVE-2026-137941/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.264%, percentile 19.432%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian gimp (Debian): All versions (No fix recorded)
- ubuntu gimp (Ubuntu): All versions (No fix recorded)

## References

- <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://security-tracker.debian.org/tracker/CVE-2026-137941>
- <https://ubuntu.com/security/CVE-2026-137941>
- <https://www.cve.org/CVERecord?id=CVE-2026-137941>
- <https://access.redhat.com/errata/RHSA-2026:105998>

---

Data as of 2026-12-05T08:44:44.834Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
