CVE-2026-40393
CVE-2026-40393 is a high-severity vulnerability in Mesa3d Mesa with a CVSS 3.x base score of 8.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.
Key facts
- Severity: High (CVSS 3.x base score 8.1)
- EPSS exploit prediction: 0% (27th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-21737
- Weakness: CWE-787
- Affected product: Mesa3d Mesa
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-40393?
- 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.
- How severe is CVE-2026-40393?
- CVE-2026-40393 has a CVSS 3.x base score of 8.1, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-40393 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (27th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-40393?
- CVE-2026-40393 primarily affects Mesa3d Mesa. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2026-40393?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-40393 have an EU (EUVD) identifier?
- Yes. CVE-2026-40393 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-21737.
- When was CVE-2026-40393 published?
- CVE-2026-40393 was published on 2026-04-12 and last updated on 2026-06-17.
References
- https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39866
- https://lists.freedesktop.org/archives/mesa-dev/2026-February/226597.html
Affected products (2)
- cpe:2.3:a:mesa3d:mesa:*:*:*:*:*:*:*:*
- cpe:2.3:a:mesa3d:mesa:26.0.0:*:*:*:*:*:*:*
More vulnerabilities in Mesa3d Mesa
- CVE-2023-45931 — High (CVSS 7.5): Mesa 23.0.4 was discovered to contain a NULL pointer dereference in check_xshm() for the has_error state. NOTE: this is…
- CVE-2013-1872 — Medium (CVSS 6.8): The Intel drivers in Mesa 8.0.x and 9.0.x allow context-dependent attackers to cause a denial of service (reachable…
- CVE-2013-1993 — Medium (CVSS 6.8): Multiple integer overflows in X.org libGLX in Mesa 9.1.1 and earlier allow X servers to trigger allocation of…
- CVE-2023-45913 — Medium (CVSS 6.2): Mesa v23.0.4 was discovered to contain a NULL pointer dereference via the function dri2GetGlxDrawableFromXDrawableId().…
- CVE-2023-45919 — Medium (CVSS 5.3): Mesa 23.0.4 was discovered to contain a buffer over-read in glXQueryServerString(). NOTE: this is disputed because…
- CVE-2019-5068 — Medium (CVSS 4.4): An exploitable shared memory permissions vulnerability exists in the functionality of X11 Mesa 3D Graphics Library…
All CVEs affecting Mesa3d Mesa →
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…