VMware Workstation 15 pixel shader functionality denial of service vulnerability
A malformed pixel shader with an out-of-range resource index causes an out-of-bounds read in VMware Workstation's host process. An attacker with access to a guest VM could crash the vmware-vmx.exe process on the host, and the text notes this could potentially also leak information.
Originally disclosed on Cisco Talos
An exploitable denial-of-service vulnerability exists in VMware Workstation 15. A specially crafted pixel shader can cause denial-of-service issues.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the shader translator did not validate that a resource index used by a SAMPLE instruction was within the declared resource array before indexing it.
Impact
The host vmware-vmx.exe process crashes, causing denial of service, and the out-of-bounds read could potentially also result in an information leak; the text also says this could theoretically be triggered through WebGL from a remote website.
What the attacker needed
Ability to run code in a VMware guest; VMware Workstation 15 on the host
How it was found
- Run VMware Workstation 15 with a Windows 10 x64 guest.
- Inside the guest, supply a pixel shader whose SAMPLE instruction uses a resource index larger than the declared resource array.
- Observe the host vmware-vmx.exe process crash with an access violation.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A virtual machine (guest) sends graphics instructions to the software that runs it (the host). Here the guest sent a shader instruction that pointed at a texture slot that was never declared, so the host program read memory outside its valid area and crashed. The crash affects the host process, not just the guest.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.