CVE-2026-137941

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

Published Nov 27, 2026 CVSS 3.1 · 7.8 High EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

Vendor Workaround

Do not open untrusted XCF files in GIMP. If GIMP is unused, remove the gimp package.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property
First Time appeared Redhat
Redhat enterprise Linux
Redhat rhel Els
Weaknesses CWE-125
CPEs cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat
Redhat enterprise Linux
Redhat rhel Els
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 27, 2026, 8:29 PM
Reserved
Nov 27, 2026, 1:40 PM

No data.