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

Vulnerability · Reported by NVD · · CWE-125

Severity
High Risk score 78/100
CVSS
7.8 v3.1 · from NVD
Exploit chance (EPSS)
0.26% Higher than 11% of CVEs
Known exploited
No Not in CISA KEV

Summary

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.

How this vulnerability can be exploited

This is a out-of-bounds read flaw (CWE-125). An attacker can exploit this vulnerability with local access to the system, without any login, and only if a user is tricked into an action (such as clicking a link or opening a file). Attack complexity is low, so no special conditions are needed. If successful, the attacker could read sensitive data, modify data or code and crash or disrupt the service.

Is it being exploited?

The EPSS model estimates a 0.26% chance this CVE will be exploited in the next 30 days, which is low and higher than 11% of all published CVEs.

Patch priority and what to do

Schedule patching in your next maintenance window, and sooner for internet-facing systems. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Warn users about suspicious links and files that could trigger the flaw. 4) Review logs for signs of exploitation since the publication date.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

See what each part means in the official CVSS calculator ↗

Tags

rce, CVE-2026-137941

Sources & references

How this data is collected: methodology & sources.

Run this software? Get free alerts for new vulnerabilities →

Need to block attackers? Free hourly IOC blocklists (IPs, domains, URLs, hashes) →

Open the live threat dashboard →

Subscribe via RSS.