{"id":"CVE-2026-137941","aliases":["CVE-2026-137941"],"related":[],"kind":"vulnerability","state":"published","title":"Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-27T20:29:35.296Z","modified":"2026-11-30T16:17:18.037Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"gimp","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"gimp","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"gimp","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"gimp:2.8/gimp","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"gimp","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-137941","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://gitlab.gnome.org/GNOME/gimp/-/commit/47f51b5b538cf1b27634b4c6f4f98b553138dbad","tags":[],"sources":["cvelist","nvd"]},{"url":"https://gitlab.gnome.org/GNOME/gimp/-/issues/17004","tags":[],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank wooze for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-30T16:02:15.452Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-137941","url":"https://www.cve.org/CVERecord?id=CVE-2026-137941","licence":"CVE Terms of Use","modified":"2026-11-30T16:02:52.056Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-137941","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137941","licence":"Public domain","modified":"2026-11-30T16:17:18.037Z"}],"updatedAt":"2026-11-30T16:32:21.583Z","epss":{"score":0.00261,"percentile":0.19038,"date":"2026-12-01T12:00:22.000Z"}}