cve.bz

CVE-2026-40393 mesa3d mesa: Out-of-bounds Write

9.8 criticalEPSS 0.4%

Critical (9.8) in mesa3d mesa. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-04-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-40393 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40393?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40393?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40393 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
mesa3d Mesabefore 25.3.6
mesa3d Mesafrom 26.0.0 before 26.0.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11mesa20.3.5-1+deb11u1DLA-4679-1
Debian12mesa22.3.6-1+deb12u2DEBIAN-CVE-2026-40393
Debian13mesa25.0.7-2+deb13u1DEBIAN-CVE-2026-40393
Debian14mesa26.0.1-1DEBIAN-CVE-2026-40393
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTSmesano fix listedUBUNTU-CVE-2026-40393
Ubuntu22.04:LTSmesa23.2.1-1ubuntu3.1~22.04.4UBUNTU-CVE-2026-40393 USN-8427-1
Ubuntu24.04:LTSmesa25.2.8-0ubuntu0.24.04.2UBUNTU-CVE-2026-40393 USN-8427-1
Ubuntu25.10mesa25.2.8-0ubuntu0.25.10.2UBUNTU-CVE-2026-40393 USN-8427-1
SUSELinux Enterprise Micro 5.2Mesa20.2.4-150300.59.12.1SUSE-SU-2026:1343-1
Azure Linux3mesa24.0.1-8AZL-82688
Alpaquitastreammesa26.0.1-r0BELL-CVE-2026-40393

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · Alpaquita.

References

Check your stackJSON