# CVE-2026-40393: 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 depe…

- Severity: High 8.1 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-04-12T18:49:18.984Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- mesa3d Mesa: before 25.3.6; from 26.0.0 before 26.0.1; 26.0.0

## Every score

- mitre: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://lists.freedesktop.org/archives/mesa-dev/2026-February/226597.html> (issue-tracking, mailing-list)
- <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39866> (issue-tracking)
- <https://lists.debian.org/debian-lts-announce/2026/07/msg00021.html>

## Sources

- CVE List: [CVE-2026-40393](https://www.cve.org/CVERecord?id=CVE-2026-40393), CVE Terms of Use, modified 2026-07-13
- NVD: [CVE-2026-40393](https://nvd.nist.gov/vuln/detail/CVE-2026-40393), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40393 · Whole record: https://cve.day/CVE-2026-40393.json · Rebuilt by cve.day 2026-11-25T22:59:18.577Z
