CVE-2026-40393: mesa3d mesa Out-of-bounds Write
Vulnerability summary
CVE-2026-40393 is a critical (CVSS 9.8) Out-of-bounds Write vulnerability in mesa3d mesa. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 40.4% of scored vulnerabilities.
Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 12-04-2026PublishedVulnerability first disclosed.
- 13-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- CVE.orgCNA8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.45%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.43% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- mesa< 22.3.6-1+deb12u2 | < 25.0.7-2+deb13u1 | < 26.0.1-1 | < 20.3.5-1+deb11u1
Mesa3d1 product
- mesa≥ 26.0.0, < 26.0.1 | < 25.3.6 | 26.0.0
Suse1 product
- Mesa&distro=SUSE Linux Enterprise Micro 5.2< 20.2.4-150300.59.12.1
Ubuntu1 product
- mesaAll versions (No fix recorded) | < 23.2.1-1ubuntu3.1~22.04.4 | < 25.2.8-0ubuntu0.24.04.2 | < 25.2.8-0ubuntu0.25.10.2
4 vendors · 4 products