CVE-2026-40393: Critical severity Mesa Mesa vulnerability

Published Apr 12, 2026
·
Updated

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 Software

11 affected componentsFixes available
Mesa Mesa<25.3.6, <26.0.1
debian/mesa<=20.3.5-1, <=22.3.6-1+deb12u1, <=25.0.7-2
26.0.8-1
Microsoft azl3 mesa 24.0.1-6<24.0.1-8
24.0.1-8
Mesa3d Mesa<25.3.6
Mesa3d Mesa=26.0.0
ubuntu/mesa*
ubuntu/mesa*
ubuntu/mesa*
ubuntu/mesa<23.2.1-1ubuntu3.1~22.04.4
23.2.1-1ubuntu3.1~22.04.4
ubuntu/mesa<25.2.8-0ubuntu0.24.04.2
25.2.8-0ubuntu0.24.04.2
ubuntu/mesa<25.2.8-0ubuntu0.25.10.2
25.2.8-0ubuntu0.25.10.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/mesa to a version that resolves this vulnerability.

    Fixed in 26.0.8-1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 24.0.1-8
  3. Upgrade

    Upgrade ubuntu/mesa to a version that resolves this vulnerability.

    Fixed in 23.2.1-1ubuntu3.1~22.04.4
  4. Upgrade

    Upgrade ubuntu/mesa to a version that resolves this vulnerability.

    Fixed in 25.2.8-0ubuntu0.24.04.2
  5. Upgrade

    Upgrade ubuntu/mesa to a version that resolves this vulnerability.

    Fixed in 25.2.8-0ubuntu0.25.10.2
  6. Upgrade

    Upgrade Mesa to a version that resolves this vulnerability.

    Fixed in 25.3.6
  7. Upgrade

    Upgrade Mesa to a version that resolves this vulnerability.

    Fixed in 26.0.1

Event History

Apr 12, 2026
CVE Published
via MITRE·06:49 PM
Data Sourced
via MITRE·06:49 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·07:16 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeaknessAffected Software
Apr 14, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:01 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-40393?

CVE-2026-40393 has a high severity due to the potential for out-of-bounds memory access.

2

How do I fix CVE-2026-40393?

To fix CVE-2026-40393, upgrade to Mesa version 25.3.6 or 26.0.1 or later.

3

What software is affected by CVE-2026-40393?

CVE-2026-40393 affects Mesa versions prior to 25.3.6 and 26.0.1.

4

What type of vulnerability is CVE-2026-40393?

CVE-2026-40393 is an out-of-bounds memory access vulnerability related to WebGPU.

5

Who is the vendor for CVE-2026-40393?

The vendor for CVE-2026-40393 is Mesa3D.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203