Skip to main content
CVE-2026-40393VulnerabilityPublished 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

Affects mesaSource GCVE Database

0
Compare
Authoritative record:CVE-2026-40393· High 8.1

Not known to be exploited · CVSS 8.1 High · fixed in 23.2.1-1ubuntu3.1~22.04.4 : patch mesa soon.

Data as of 9 Nov 2026, 14:19 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 23.2.1-1ubuntu3.1~22.04.4, 25.2.8-0ubuntu0.24.04.2, 25.2.8-0ubuntu0.25.10.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.

What to do

Upgrade the Ubuntu mesa to 23.2.1-1ubuntu3.1~22.04.4 (package) or 25.2.8-0ubuntu0.24.04.2 (package) or 25.2.8-0ubuntu0.25.10.2 (package).

Affected software

ProductAffectedFixed in
Ubuntu 25.10mesapkg:deb/ubuntu/mesa?arch=source&distro=questingOther threatsAffected
  • <25.2.8-0ubuntu0.25.10.2
Fixed in
  • 25.2.8-0ubuntu0.25.10.2
Ubuntu 24.04 LTSmesapkg:deb/ubuntu/mesa?arch=source&distro=nobleOther threatsAffected
  • <25.2.8-0ubuntu0.24.04.2
Fixed in
  • 25.2.8-0ubuntu0.24.04.2
Ubuntu 22.04 LTSmesapkg:deb/ubuntu/mesa?arch=source&distro=jammyOther threatsAffected
  • <23.2.1-1ubuntu3.1~22.04.4
Fixed in
  • 23.2.1-1ubuntu3.1~22.04.4
Ubuntu 20.04 LTSmesapkg:deb/ubuntu/mesa?arch=source&distro=focalOther threatsAffected
  • 19.2.1-1ubuntu1 – 21.2.6-0ubuntu0.1~20.04.2
17 affected builds
Fixed in–
Ubuntu 18.04 LTSmesapkg:deb/ubuntu/mesa?arch=source&distro=bionicOther threatsAffected
  • 17.2.2-0ubuntu1 – 20.0.8-0ubuntu1~18.04.1
19 affected builds
Fixed in–
Ubuntu 16.04 LTSmesapkg:deb/ubuntu/mesa?arch=source&distro=xenialOther threatsAffected
  • 11.0.2-1ubuntu4 – 18.0.5-0ubuntu0~16.04.1
21 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available and should be applied by updating Mesa packages to at least versions 23.2.1-1ubuntu3.1~22.04.4, 25.2.8-0ubuntu0.24.04.2, or 25.2.8-0ubuntu0.25.10.2 depending on the Ubuntu release. After updating, users must restart their sessions to ensure the fixes take effect. No other specific mitigations are indicated by the vendor advisory.

Description

A critical vulnerability in Mesa before versions 25.3.6 and 26 before 26.0.1 allows out-of-bounds memory access in the WebGPU component due to improper validation of memory allocation sizes based on untrusted input. This flaw can lead to crashes or potentially arbitrary code execution. The issue affects multiple Ubuntu package versions and has been addressed in updated Mesa packages. Users should apply the available patches and restart their sessions to mitigate the risk.

References

Community reviews

Loading reviews…