CVE-2026-40393
Full vulnerability record from the local CVENow database.
Description
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.
Severity
CRITICAL
CVSS score
9.8
(v3.1)
Vulnerability status
Modified
Source identifier
Published
2026-04-12 19:16:20.797000
Last modified
2026-10-26 21:10:00.170000
View original CVE JSON
{
"id": "CVE-2026-40393",
"sourceIdentifier": "[email protected]",
"published": "2026-04-12T19:16:20.797",
"lastModified": "2026-10-26T21:10:00.170",
"vulnStatus": "Modified",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "En Mesa antes de 25.3.6 y 26 antes de 26.0.1, puede ocurrir un acceso a memoria fuera de límites en WebGPU porque la cantidad de datos a asignar depende de una parte no confiable, y luego se utiliza para alloca."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "mesa3d",
"product": "Mesa",
"defaultStatus": "unaffected",
"versions": [
{
"version": "0",
"lessThan": "25.3.6",
"versionType": "semver",
"status": "affected"
},
{
"version": "26.0.0",
"lessThan": "26.0.1",
"versionType": "semver",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 8.1,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 2.2,
"impactScore": 5.9
},
{
"source": "[email protected]",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-04-13T15:46:57.488673Z",
"id": "CVE-2026-40393",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-787"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:mesa3d:mesa:*:*:*:*:*:*:*:*",
"versionEndExcluding": "25.3.6",
"matchCriteriaId": "89D70296-F399-4480-B0DE-63B0B30626E3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:mesa3d:mesa:26.0.0:*:*:*:*:*:*:*",
"matchCriteriaId": "0AA825BC-1256-4D8E-96E1-3E67CC9867EB"
}
]
}
]
}
],
"references": [
{
"url": "https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39866",
"source": "[email protected]",
"tags": [
"Issue Tracking"
]
},
{
"url": "https://lists.freedesktop.org/archives/mesa-dev/2026-February/226597.html",
"source": "[email protected]",
"tags": [
"Issue Tracking",
"Mailing List"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2026/07/msg00021.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
]
}