Buffer overflow in Mesa3d Mesa
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 depends on an untrusted party, and is then used for alloca.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.004, 38.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mesa3d Mesa — versions 0, 26.0.0
Weakness classification (CWE)
References
- lists.freedesktop.org/archives/mesa-dev/2026-February/226597.html (Mailing List, Issue Tracking)
- gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39866 (Issue Tracking)
- lists.debian.org/debian-lts-announce/2026/07/msg00021.html