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

EPSS: 0.001 (18.0th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-40393?
CVE-2026-40393 is a high-severity vulnerability in Mesa3d Mesa, classified under Out-of-bounds Write. CVSS score: 8.1/10. Published 2026-04-12.
How severe is CVE-2026-40393?
High severity. CVSS v3 base score is 8.1 out of 10.