Skip to content
OpenAdvisories
High · 8.1 CVE-2026-40393 EUVD-2026-21737

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 depe…

Published Apr 12, 2026 · Updated Jul 13, 2026 · Assigned by mitre

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.

Affected products

VendorProductAffectedFixed
mesa3d Mesa < 25.3.6, 26.0.0 – < 26.0.1 25.3.6

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mesa 26.0.1-1 —
Debian 13 mesa 25.0.7-2+deb13u1 —
Debian 12 mesa 22.3.6-1+deb12u2 —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 mesa 25.2.8-0ubuntu0.25.10.2 USN-8427-1
Ubuntu 24.04 LTS mesa 25.2.8-0ubuntu0.24.04.2 USN-8427-1
Ubuntu 22.04 LTS mesa 23.2.1-1ubuntu3.1~22.04.4 USN-8427-1
Ubuntu 20.04 LTS mesa No fix yet —
Ubuntu 18.04 LTS mesa No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS mesa No fix yet —
ReleasePackageFixed inAdvisory
SLE Micro 5.2 Mesa 20.2.4-150300.59.12.1 SUSE-SU-2026:1343-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 mesa-libGL +19 24.2.6-1268.amzn2023.0.1 ALAS2023-2026-1623
Amazon Linux 2 mesa-libGL +17 18.3.4-5.amzn2.0.2 ALAS2-2026-3330

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 mesa 24.0.1-8 —

Advisories 4

References