{"id":"CVE-2026-40393","title":"In Mesa before 25.3.6 and 26 before 26.0.1, out-of-bounds memory access can occur in WebGPU because the amount of to-be-allocated data depends on an untrusted party, and is then used for alloca.","summary":"In Mesa before 25.3.6 and 26 before 26.0.1, out-of-bounds memory access can occur in WebGPU because the amount of to-be-allocated data depends on an untrusted party, and is then used for alloca.","severity":"high","cvss":8.1,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-787"],"vendor":"mesa3d","product":"mesa","affected":["mesa < 25.3.6","mesa = 26.0.0"],"patched":["mesa 25.3.6"],"published":"2026-04-12","updated":"2026-07-13","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-40393","references":[{"url":"https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39866","label":"cve@mitre.org"},{"url":"https://lists.freedesktop.org/archives/mesa-dev/2026-February/226597.html","label":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2026/07/msg00021.html","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd"],"epss":0.00427,"epssPercentile":0.36606,"ingestedAt":"2026-07-13T10:25:38.705Z","slug":"CVE-2026-40393","body":"## Overview\n\nIn Mesa before 25.3.6 and 26 before 26.0.1, out-of-bounds memory access can occur in WebGPU because the amount of to-be-allocated data depends on an untrusted party, and is then used for alloca.\n\n## Affected\n\n- `mesa < 25.3.6`\n- `mesa = 26.0.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `mesa 25.3.6`","depth":"twilight","depthScore":45,"depthScoreParts":{"impact":44.6,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}