CVE-2026-40393

NameCVE-2026-40393
DescriptionIn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mesa (PTS)bullseye20.3.5-1vulnerable
bookworm22.3.6-1+deb12u1vulnerable
trixie25.0.7-2vulnerable
sid, forky26.0.4-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mesasource(unstable)26.0.1-1

Notes

https://lists.freedesktop.org/archives/mesa-dev/2026-February/226597.html
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39866
Fixed by: https://gitlab.freedesktop.org/mesa/mesa/-/commit/978fd42b4b7d1e9c0435ffa7e1a4d339cba9b76e (mesa-26.0.1)
Fixed by: https://gitlab.freedesktop.org/mesa/mesa/-/commit/45ce75f3bcd638dcf7daae09f9bf0b7c015b81c4 (mesa-26.0.1)

Search for package or bug name: Reporting problems