Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40393: CWE-787 Out-of-bounds Write in mesa3d Mesa

0
High
VulnerabilityCVE-2026-40393cvecve-2026-40393cwe-787
Published: Sun Apr 12 2026 (04/12/2026, 18:49:18 UTC)
Source: CVE Database V5
Vendor/Project: mesa3d
Product: 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 caused by using an untrusted input to determine the size of memory allocation with alloca. This can lead to memory corruption with potential impacts on confidentiality, integrity, and availability. No official patch or remediation level has been confirmed yet. There are no known exploits in the wild at this time.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/12/2026, 19:31:48 UTC

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 allocated on the stack via alloca depends on data controlled by an untrusted party, leading to potential memory corruption. Affected versions include all releases before 25.3.6 and versions before 26.0.1. The CVSS v3.1 base score is 8.1, indicating high severity, with network attack vector, high attack complexity, no privileges or user interaction required, and impacts on confidentiality, integrity, and availability. No vendor advisory or patch links are currently available, and the remediation level is unknown.

Potential Impact

Successful exploitation can result in out-of-bounds memory writes, potentially allowing an attacker to corrupt memory, leading to denial of service, information disclosure, or arbitrary code execution. The vulnerability affects the WebGPU component of Mesa, which is used in graphics processing. 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 restricting untrusted input to the WebGPU component or avoid using vulnerable versions of Mesa in high-risk environments. Monitor vendor communications for updates on patches or official mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/12/2026, 7:31:48 PM

Last updated: 4/12/2026, 8:20:02 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses