{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2026-137941 in the wild and no public exploit code.","exposure":"An affected version is exposed as installed. No special setting or call is needed.","fix":"No fix has been published for CVE-2026-137941 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-137941 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2026-137941 in the wild and no public exploit code.\nExposure: An affected version is exposed as installed. No special setting or call is needed.\n\nAffected product: gimp. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-137941/ (Markdown: https://insights.sbomify.com/CVE-2026-137941/index.md)","id":"CVE-2026-137941","markdown":"https://insights.sbomify.com/CVE-2026-137941/index.md","name":"CVE-2026-137941","record":{"aliases":["DEBIAN-CVE-2026-137941","GHSA-f8xm-j6xg-cgjc"],"analysis":{"component_type":"desktop_application","exploitable_when_present":false,"fix_type":"no_fix_stated","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"image editor","requires_auth":"none","requires_specific_call":false,"summary":"A crafted XCF file opened in GIMP can trigger heap out-of-bounds memory access, crashing it or executing code.","user_interaction":"required","vuln_class":"memory_corruption","vulnerable_functions":[]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"redhat","component":"gimp","cpe":[{"criteria":[{"cpe":"cpe:2.3:o:redhat:enterprise_linux:8:*:*:*:*:*:*:*","source":"cna"},{"cpe":"cpe:2.3:o:redhat:enterprise_linux:9:*:*:*:*:*:*:*","source":"cna"}],"n_criteria":2,"name":"Red Hat Enterprise Linux","product":"enterprise_linux","vendor":"redhat"},{"criteria":[{"cpe":"cpe:2.3:o:redhat:rhel_els:7:*:*:*:*:*:*:*","source":"cna"}],"n_criteria":1,"name":null,"product":"rhel_els","vendor":"redhat"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property","id":"CVE-2026-137941","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":3,"n_vendor_status":4,"next":{"headline":"Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 Cross-User Contact Group Membership Access","id":"CVE-2026-137942"},"nickname":null,"packages":[],"prev":{"headline":"Pillow through 13.1.0 Crash via ImageMath INT32_MIN Division by -1","id":"CVE-2026-137940"},"products":["Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9"],"published":"2026-11-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-27","vendor_status":[{"n_packages":15,"name":"Red Hat","packages":[{"detail":"Affected","module":"gimp:2.8","name":"gimp","name_kind":"source","purl":"pkg:rpm/redhat/gimp?distro=rhel-8","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","module":"gimp:2.8","name":"gimp-devel","purl":"pkg:rpm/redhat/gimp-devel?distro=rhel-8","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","module":"gimp:2.8","name":"gimp-devel-tools","purl":"pkg:rpm/redhat/gimp-devel-tools?distro=rhel-8","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","module":"gimp:2.8","name":"gimp-libs","purl":"pkg:rpm/redhat/gimp-libs?distro=rhel-8","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","module":"gimp:2.8","name":"pygobject2","name_kind":"source","purl":"pkg:rpm/redhat/pygobject2?distro=rhel-8","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","module":"gimp:2.8","name":"pygobject2-codegen","purl":"pkg:rpm/redhat/pygobject2-codegen?distro=rhel-8","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","module":"gimp:2.8","name":"pygobject2-devel","purl":"pkg:rpm/redhat/pygobject2-devel?distro=rhel-8","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","module":"gimp:2.8","name":"pygobject2-doc","purl":"pkg:rpm/redhat/pygobject2-doc?distro=rhel-8","sources":["redhat-vex"],"status":"affected"}],"release":"8","scope":"distro","status":"affected","statuses":{"affected":15},"vendor":"redhat"},{"n_packages":2,"name":"Red Hat","packages":[{"detail":"Affected","name":"gimp","purl":"pkg:rpm/redhat/gimp?distro=rhel-9","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"gimp-libs","purl":"pkg:rpm/redhat/gimp-libs?distro=rhel-9","sources":["redhat-vex"],"status":"affected"}],"release":"9","scope":"distro","status":"affected","statuses":{"affected":2},"vendor":"redhat"},{"n_packages":5,"name":"Red Hat","packages":[{"detail":"Out of support scope","name":"gimp","purl":"pkg:rpm/redhat/gimp?distro=rhel-6","sources":["redhat-vex"],"status":"end_of_life"},{"detail":"Out of support scope","name":"gimp-devel","purl":"pkg:rpm/redhat/gimp-devel?distro=rhel-6","sources":["redhat-vex"],"status":"end_of_life"},{"detail":"Out of support scope","name":"gimp-devel-tools","purl":"pkg:rpm/redhat/gimp-devel-tools?distro=rhel-6","sources":["redhat-vex"],"status":"end_of_life"},{"detail":"Out of support scope","name":"gimp-help-browser","purl":"pkg:rpm/redhat/gimp-help-browser?distro=rhel-6","sources":["redhat-vex"],"status":"end_of_life"},{"detail":"Out of support scope","name":"gimp-libs","purl":"pkg:rpm/redhat/gimp-libs?distro=rhel-6","sources":["redhat-vex"],"status":"end_of_life"}],"release":"els/6","scope":"distro","status":"end_of_life","statuses":{"end_of_life":5},"vendor":"redhat"},{"n_packages":4,"name":"Red Hat","packages":[{"detail":"Affected","name":"gimp","purl":"pkg:rpm/redhat/gimp?distro=rhel-7","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"gimp-devel","purl":"pkg:rpm/redhat/gimp-devel?distro=rhel-7","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"gimp-devel-tools","purl":"pkg:rpm/redhat/gimp-devel-tools?distro=rhel-7","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"gimp-libs","purl":"pkg:rpm/redhat/gimp-libs?distro=rhel-7","sources":["redhat-vex"],"status":"affected"}],"release":"els/7","scope":"distro","status":"affected","statuses":{"affected":4},"vendor":"redhat"}],"vendors":["Red Hat"]},"summary":"A crafted XCF file opened in GIMP can trigger heap out-of-bounds memory access, crashing it or executing code.","url":"https://insights.sbomify.com/CVE-2026-137941/"}