p PatchFirst

CVE-2026-40393

CVE-2026-40393

CVSS 8.1 · High · EPSS 0.4% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • mesaUpdate to 25.3.6 / 26.0.1
  • mesa Debian 12Update to 22.3.6-1+deb12u2
  • mesa Debian 13Update to 25.0.7-2+deb13u1
  • mesa Debian 14Update to 26.0.1-1
  • and 6 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="mesa"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • mesa

    Versions
    • ≥ 0, < 25.3.6: Affected (semver)
    • ≥ 26.0.0, < 26.0.1: Affected (semver)

    Update to 25.3.6; Update to 26.0.1

  • mesa Debian 12

    Versions
    • 22.3.6-1+deb12u1
    Affected ranges
    • ECOSYSTEM: < 22.3.6-1+deb12u2

    Update to 22.3.6-1+deb12u2

  • mesa Debian 13

    Versions
    • 25.0.7-2
    Affected ranges
    • ECOSYSTEM: < 25.0.7-2+deb13u1

    Update to 25.0.7-2+deb13u1

  • mesa Debian 14

    Versions
    • 25.0.7-2
    • 25.1.0-1
    • 25.1.5-1
    • 25.1.7-1
    • 25.2.0-1
    • 25.2.1-1
    All versions (29)
    • 25.2.1-2
    • 25.2.2-1
    • 25.2.3-1
    • 25.2.3-1~bpo13+1
    • 25.2.4-1
    • 25.2.4-1~bpo13+1
    • 25.2.4-1~bpo13+2
    • 25.2.5-1
    • 25.2.6-1
    • 25.2.6-1~bpo13+1
    • 25.2.7-1
    • 25.2.8-1
    • 25.2.8-2
    • 25.3.0-1
    • 25.3.0~rc1-1
    • 25.3.0~rc2-1
    • 25.3.0~rc4-1
    • 25.3.1-1
    • 25.3.2-1
    • 25.3.2-2
    • 25.3.3-1
    • 26.0.0-1
    • 26.0.0~rc3-1
    Affected ranges
    • ECOSYSTEM: < 26.0.1-1

    Update to 26.0.1-1

  • mesa Ubuntu 16.04 LTS

    Versions
    • 11.0.2-1ubuntu4
    • 11.0.4-1ubuntu1
    • 11.0.5-1ubuntu1
    • 11.0.5-1ubuntu2
    • 11.0.6-1ubuntu1
    • 11.0.7-1ubuntu1
    All versions (21)
    • 11.0.8-1ubuntu1
    • 11.1.1-1ubuntu2
    • 11.1.2-1ubuntu1
    • 11.1.2-1ubuntu2
    • 11.2.0-1ubuntu1
    • 11.2.0-1ubuntu2
    • 11.2.0-1ubuntu2.1
    • 11.2.0-1ubuntu2.2
    • 12.0.6-0ubuntu0.16.04.1
    • 17.0.7-0ubuntu0.16.04.1
    • 17.0.7-0ubuntu0.16.04.2
    • 17.2.4-0ubuntu1~16.04.2
    • 17.2.4-0ubuntu1~16.04.4
    • 17.2.8-0ubuntu0~16.04.1
    • 18.0.5-0ubuntu0~16.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mesa Ubuntu 18.04 LTS

    Versions
    • 17.2.2-0ubuntu1
    • 17.2.4-0ubuntu2
    • 17.3.3-0ubuntu1
    • 18.0.0~rc4-1ubuntu3
    • 18.0.0~rc5-1ubuntu1
    • 18.0.5-0ubuntu0~18.04.1
    All versions (19)
    • 18.2.2-0ubuntu1~18.04.1
    • 18.2.2-0ubuntu1~18.04.2
    • 18.2.8-0ubuntu0~18.04.2
    • 19.0.2-1ubuntu1.1~18.04.1
    • 19.0.2-1ubuntu1.1~18.04.2
    • 19.0.8-0ubuntu0~18.04.1
    • 19.0.8-0ubuntu0~18.04.2
    • 19.0.8-0ubuntu0~18.04.3
    • 19.2.1-1ubuntu1~18.04.1
    • 19.2.8-0ubuntu0~18.04.1
    • 19.2.8-0ubuntu0~18.04.2
    • 19.2.8-0ubuntu0~18.04.3
    • 20.0.8-0ubuntu1~18.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mesa Ubuntu 20.04 LTS

    Versions
    • 19.2.1-1ubuntu1
    • 19.2.4-1ubuntu1
    • 19.3.3-1ubuntu1
    • 20.0.0-1ubuntu1
    • 20.0.2-1ubuntu1
    • 20.0.4-1ubuntu1
    All versions (17)
    • 20.0.4-2ubuntu1
    • 20.0.8-0ubuntu1~20.04.1
    • 20.2.6-0ubuntu0.20.04.1
    • 21.0.3-0ubuntu0.2~20.04.1
    • 21.0.3-0ubuntu0.3~20.04.1
    • 21.0.3-0ubuntu0.3~20.04.2
    • 21.0.3-0ubuntu0.3~20.04.3
    • 21.0.3-0ubuntu0.3~20.04.4
    • 21.0.3-0ubuntu0.3~20.04.5
    • 21.2.6-0ubuntu0.1~20.04.1
    • 21.2.6-0ubuntu0.1~20.04.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mesa Ubuntu 22.04 LTS

    Versions
    • 21.2.2-1ubuntu1
    • 21.3.5-1ubuntu1
    • 22.0.0-0ubuntu2
    • 22.0.1-1ubuntu1
    • 22.0.1-1ubuntu2
    • 22.0.1-1ubuntu2.1
    All versions (14)
    • 22.0.5-0ubuntu0.1
    • 22.0.5-0ubuntu0.3
    • 22.2.5-0ubuntu0.1~22.04.1
    • 22.2.5-0ubuntu0.1~22.04.2
    • 22.2.5-0ubuntu0.1~22.04.3
    • 23.0.4-0ubuntu1~22.04.1
    • 23.2.1-1ubuntu3.1~22.04.2
    • 23.2.1-1ubuntu3.1~22.04.3
    Affected ranges
    • ECOSYSTEM: < 23.2.1-1ubuntu3.1~22.04.4

    Update to 23.2.1-1ubuntu3.1~22.04.4

  • mesa Ubuntu 24.04 LTS

    Versions
    • 23.2.1-1ubuntu3
    • 23.2.1-1ubuntu4
    • 23.3.0-2ubuntu3
    • 23.3.3-1ubuntu2
    • 24.0.1-1ubuntu1
    • 24.0.3-1ubuntu3
    All versions (15)
    • 24.0.3-1ubuntu4
    • 24.0.5-1ubuntu1
    • 24.0.9-0ubuntu0.1
    • 24.0.9-0ubuntu0.2
    • 24.0.9-0ubuntu0.3
    • 24.2.8-1ubuntu1~24.04.1
    • 25.0.7-0ubuntu0.24.04.1
    • 25.0.7-0ubuntu0.24.04.2
    • 25.2.8-0ubuntu0.24.04.1
    Affected ranges
    • ECOSYSTEM: < 25.2.8-0ubuntu0.24.04.2

    Update to 25.2.8-0ubuntu0.24.04.2

  • mesa Ubuntu 25.10

    Versions
    • 25.0.3-1ubuntu2
    • 25.0.7-0ubuntu1
    • 25.0.7-0ubuntu2
    • 25.0.7-0ubuntu3
    • 25.1.5-1ubuntu1
    • 25.1.7-1ubuntu1
    All versions (10)
    • 25.2.1-2ubuntu1
    • 25.2.2-1ubuntu1
    • 25.2.3-1ubuntu1
    • 25.2.8-0ubuntu0.25.10.1
    Affected ranges
    • ECOSYSTEM: < 25.2.8-0ubuntu0.25.10.2

    Update to 25.2.8-0ubuntu0.25.10.2

Original sources

Check your server →