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.

PackageEcosystemFixed in
mesa-vdpau-driversAmazon Linux24.2.6-1268.amzn2023.0.1
mesa-libglapiAmazon Linux24.2.6-1268.amzn2023.0.1, 18.3.4-5.amzn2.0.2
mesa-libEGLAmazon Linux18.3.4-5.amzn2.0.2
mesa-khr-develAmazon Linux18.3.4-5.amzn2.0.2
mesa-filesystemAmazon Linux18.3.4-5.amzn2.0.2
mesa-libgbm-develAmazon Linux24.2.6-1268.amzn2023.0.1
mesa-libGL-develAmazon Linux24.2.6-1268.amzn2023.0.1, 18.3.4-5.amzn2.0.2
mesa-libGLAmazon Linux24.2.6-1268.amzn2023.0.1, 18.3.4-5.amzn2.0.2
mesa-libGLES-develAmazon Linux18.3.4-5.amzn2.0.2
mesa-libOSMesaAmazon Linux24.2.6-1268.amzn2023.0.1, 18.3.4-5.amzn2.0.2
mesa-libxatracker-develAmazon Linux24.2.6-1268.amzn2023.0.1
mesa-libGLESAmazon Linux18.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

VendorProductVersions
mesa3dMesa0, 26.0.0
amazon:2023mesa-vdpau-drivers0
amazon:2mesa-libglapi0
amazon:2mesa-libEGL0
amazon:2mesa-khr-devel0
amazon:2mesa-filesystem0
amazon:2023mesa-libgbm-devel0
amazon:2023mesa-libGL-devel0
amazon:2023mesa-libGL0
amazon:2mesa-libGL-devel0
amazon:2mesa-libGL0
amazon:2mesa-libGLES-devel0
amazon:2023mesa-libOSMesa0
amazon:2023mesa-libxatracker-devel0
amazon:2mesa-libGLES0
amazon:2mesa-libOSMesa0
amazon:2023mesa-libxatracker0
amazon:2023mesa-libOpenCL-devel0
amazon:2mesa-dri-drivers0
amazon:2023mesa-libgbm0

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›