CVE-2026-137941
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by redhat
Exploit likelihood
0.26% (higher than 19% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
gimpNot specifiedCVE List
gimp:2.8/gimpNot specifiedCVE List

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-137941 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-137941 changed 2026-11-30Public domain