VDB
CVE-2026-40393
CVE-2026-40393
PUBLISHED
CVSS 8.1 HIGH
Reported by mitre · Published April 12, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mesa-vdpau-drivers | Amazon Linux | 24.2.6-1268.amzn2023.0.1 |
| mesa-libglapi | Amazon Linux | 24.2.6-1268.amzn2023.0.1, 18.3.4-5.amzn2.0.2 |
| mesa-libEGL | Amazon Linux | 18.3.4-5.amzn2.0.2 |
| mesa-khr-devel | Amazon Linux | 18.3.4-5.amzn2.0.2 |
| mesa-filesystem | Amazon Linux | 18.3.4-5.amzn2.0.2 |
| mesa-libgbm-devel | Amazon Linux | 24.2.6-1268.amzn2023.0.1 |
| mesa-libGL-devel | Amazon Linux | 24.2.6-1268.amzn2023.0.1, 18.3.4-5.amzn2.0.2 |
| mesa-libGL | Amazon Linux | 24.2.6-1268.amzn2023.0.1, 18.3.4-5.amzn2.0.2 |
| mesa-libGLES-devel | Amazon Linux | 18.3.4-5.amzn2.0.2 |
| mesa-libOSMesa | Amazon Linux | 24.2.6-1268.amzn2023.0.1, 18.3.4-5.amzn2.0.2 |
| mesa-libxatracker-devel | Amazon Linux | 24.2.6-1268.amzn2023.0.1 |
| mesa-libGLES | Amazon Linux | 18.3.4-5.amzn2.0.2 |
8 more packages have a fixed version. See every fix in Lookup.
Risk scores
CVSS 3.1
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| mesa3d | Mesa | 0, 26.0.0 |
| amazon:2023 | mesa-vdpau-drivers | 0 |
| amazon:2 | mesa-libglapi | 0 |
| amazon:2 | mesa-libEGL | 0 |
| amazon:2 | mesa-khr-devel | 0 |
| amazon:2 | mesa-filesystem | 0 |
| amazon:2023 | mesa-libgbm-devel | 0 |
| amazon:2023 | mesa-libGL-devel | 0 |
| amazon:2023 | mesa-libGL | 0 |
| amazon:2 | mesa-libGL-devel | 0 |
| amazon:2 | mesa-libGL | 0 |
| amazon:2 | mesa-libGLES-devel | 0 |
| amazon:2023 | mesa-libOSMesa | 0 |
| amazon:2023 | mesa-libxatracker-devel | 0 |
| amazon:2 | mesa-libGLES | 0 |
| amazon:2 | mesa-libOSMesa | 0 |
| amazon:2023 | mesa-libxatracker | 0 |
| amazon:2023 | mesa-libOpenCL-devel | 0 |
| amazon:2 | mesa-dri-drivers | 0 |
| amazon:2023 | mesa-libgbm | 0 |
…and 21 more
Timeline
- Apr 12, 2026 CVE Published
- Apr 12, 2026 PoC Published (4 in total, the first dated here)
- Apr 13, 2026 EPSS Score (30 in total, the first dated here)
- Apr 13, 2026 Security Advisory
- Jun 30, 2026 Coalition ESS Score
- Jul 13, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-40393
vulnetix vdb fixes CVE-2026-40393
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-40393/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart