CVE-2026-40393: CWE-787 Out-of-bounds Write in mesa3d Mesa
CVE-2026-40393 is a high-severity vulnerability in the Mesa3D graphics library affecting versions before 25. 3. 6 and 26 before 26. 0. 1. It involves an out-of-bounds write in the WebGPU component due to allocation size being derived from untrusted input and used with alloca, potentially leading to memory corruption. The vulnerability has a CVSS score of 8. 1, indicating a significant impact on confidentiality, integrity, and availability. No official patch or remediation guidance is currently provided, and no known exploits are reported in the wild. Users of affected Mesa versions should monitor vendor advisories for updates and apply patches once available.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-40393) in Mesa3D arises from an out-of-bounds memory write in the WebGPU implementation. The issue occurs because the amount of memory to allocate is based on untrusted input, which is then used with alloca, leading to potential memory corruption. Affected versions include all releases before 25.3.6 and 26 before 26.0.1. The CVSS 3.1 vector indicates network attack vector, high attack complexity, no privileges required, no user interaction, and impacts confidentiality, integrity, and availability. No patch or official remediation level has been disclosed yet.
Potential Impact
Successful exploitation could allow an attacker to cause memory corruption, potentially leading to arbitrary code execution, denial of service, or information disclosure. The CVSS score of 8.1 reflects high impact on confidentiality, integrity, and availability. However, there are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider avoiding use of affected Mesa versions in untrusted environments or restrict access to the WebGPU functionality if possible. Monitor vendor channels for updates and apply patches promptly once available.
CVE-2026-40393: CWE-787 Out-of-bounds Write in mesa3d Mesa
Description
CVE-2026-40393 is a high-severity vulnerability in the Mesa3D graphics library affecting versions before 25. 3. 6 and 26 before 26. 0. 1. It involves an out-of-bounds write in the WebGPU component due to allocation size being derived from untrusted input and used with alloca, potentially leading to memory corruption. The vulnerability has a CVSS score of 8. 1, indicating a significant impact on confidentiality, integrity, and availability. No official patch or remediation guidance is currently provided, and no known exploits are reported in the wild. Users of affected Mesa versions should monitor vendor advisories for updates and apply patches once available.
CVSS v3.1
Score 8.1high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-40393) in Mesa3D arises from an out-of-bounds memory write in the WebGPU implementation. The issue occurs because the amount of memory to allocate is based on untrusted input, which is then used with alloca, leading to potential memory corruption. Affected versions include all releases before 25.3.6 and 26 before 26.0.1. The CVSS 3.1 vector indicates network attack vector, high attack complexity, no privileges required, no user interaction, and impacts confidentiality, integrity, and availability. No patch or official remediation level has been disclosed yet.
Potential Impact
Successful exploitation could allow an attacker to cause memory corruption, potentially leading to arbitrary code execution, denial of service, or information disclosure. The CVSS score of 8.1 reflects high impact on confidentiality, integrity, and availability. However, there are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider avoiding use of affected Mesa versions in untrusted environments or restrict access to the WebGPU functionality if possible. Monitor vendor channels for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-04-12T18:49:18.544Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69dbefa382d89c981fa9bf0a
Added to database: 4/12/2026, 7:16:51 PM
Last enriched: 4/20/2026, 6:21:12 AM
Last updated: 5/27/2026, 6:45:18 AM
Views: 111
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.