NVIDIA nvwgf2umx_cfg.dll shader DCL_RESOURCE_STRUCTURED memory corruption vulnerability
A memory corruption vulnerability exists in the NVIDIA D3D10 driver's handling of the DCL_RESOURCE_STRUCTURED shader opcode. A malformed compute shader can cause an out-of-bounds write, potentially allowing an attacker to execute code on the host from a guest virtual machine or via a web browser.
Originally disclosed on Cisco Talos
A memory corruption vulnerability exists in the shader DCLRESOURCESTRUCTURED functionality of NVIDIA D3D10 Driver, version 496.76, 30.0.14.9676. A specially-crafted executable/shader file can lead to an out-of-bounds write.
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
Impact
This could allow an attacker to execute code on the host from a guest virtual machine, or potentially from a web browser using WebGL and WebAssembly, though the CVSS score indicates high attack complexity.
What the attacker needed
Ability to supply a malformed shader; NVIDIA driver version 496.76
The fix
The vulnerability was fixed in a vendor patch release.
How it was found
- Craft a malformed compute shader with a modified dcl_resource_structured opcode operand.
- Supply the shader to the NVIDIA driver, for example via a Direct3D application or from a guest VM using RemoteFX.
- The driver processes the shader and performs an out-of-bounds write, causing a crash or potential code execution.
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.
Graphics drivers process instructions called shaders to draw images. A specially crafted shader can make the driver write data to a memory location it should not, which is called an out-of-bounds write. This could let an attacker run their own code on the computer, possibly escaping from a virtual machine to the host.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.