What is CVE-2026-137941?
CVE-2026-137941 is a high-severity memory corruption vulnerability in gimp, published on 27 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-125
How severe is CVE-2026-137941?
CVE-2026-137941 scores 7.8 out of 10 under CVSS 3.1, which is high severity. It was scored by Red Hat.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Which versions are affected by CVE-2026-137941?
It affects 2 products.
An affected version is exposed as installed. No special setting or call is needed.
Status by vendor 4
| Who | Release | Status | Packages |
|---|---|---|---|
| Red Hat | 8 | affected | gimp, gimp-devel, gimp-devel-tools and 12 morepkg:rpm/redhat/gimp?distro=rhel-8pkg:rpm/redhat/gimp-devel?distro=rhel-8pkg:rpm/redhat/gimp-devel-tools?distro=rhel-8 |
| Red Hat | 9 | affected | gimp, gimp-libspkg:rpm/redhat/gimp?distro=rhel-9pkg:rpm/redhat/gimp-libs?distro=rhel-9 |
| Red Hat | els/6 | end of life | gimp, gimp-devel, gimp-devel-tools and 2 morepkg:rpm/redhat/gimp?distro=rhel-6pkg:rpm/redhat/gimp-devel?distro=rhel-6pkg:rpm/redhat/gimp-devel-tools?distro=rhel-6 |
| Red Hat | els/7 | affected | gimp, gimp-devel, gimp-devel-tools and 1 morepkg:rpm/redhat/gimp?distro=rhel-7pkg:rpm/redhat/gimp-devel?distro=rhel-7pkg:rpm/redhat/gimp-devel-tools?distro=rhel-7 |
Products include Red Hat Enterprise Linux, Redhat Rhel Els.
CPE match criteria 3
| CPE 2.3 | Versions |
|---|---|
cpe:2.3:o:redhat:enterprise_linux:8:*:*:*:*:*:*:* | 8 |
cpe:2.3:o:redhat:enterprise_linux:9:*:*:*:*:*:*:* | 9 |
cpe:2.3:o:redhat:rhel_els:7:*:*:*:*:*:*:* | 7 |
How do I fix CVE-2026-137941?
No fix has been published for CVE-2026-137941 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-137941 being exploited?
There is no known exploitation of CVE-2026-137941 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-137941, GHSA-f8xm-j6xg-cgjc.