Skip to content
Memory corruption Advisory Advanced CVE-2022-28182

NVIDIA nvwgf2umx_cfg.dll shader DCL_INDEXRANGE memory corruption vulnerability

A memory corruption vulnerability exists in the shader DCL_INDEXRANGE functionality of the NVIDIA D3D10 driver. A specially crafted shader can cause an out-of-bounds write, potentially leading to guest-to-host escape in virtualised environments or code execution from a web browser.

Piotr Bania Follow

Originally disclosed on Cisco Talos

High 8.5 View original

A memory corruption vulnerability exists in the shader DCLINDEXRANGE functionality of NVIDIA D3D10 Driver version 496.76, 30.0.14.9676. A specially-crafted executable/shader file can lead to memory corruption.

Piotr Bania, on Cisco Talos

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 driver fails to properly validate the loop count derived from the DCL_INDEXRANGE instruction, leading to an out-of-bounds write.

Impact

This vulnerability could allow a guest-to-host escape in virtualisation environments or potentially be triggered from a web browser, leading to memory corruption and possible code execution.

What the attacker needed

Malicious shader file; virtualisation environment or web browser

The fix

The vendor released a patch on 2022-05-16.

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.

The NVIDIA graphics driver has a bug when it processes a special instruction in a shader program. A shader is a small program that runs on the graphics card. By crafting a malicious shader, an attacker can make the driver write data outside the intended memory area, which can crash the system or allow the attacker to run their own code.

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.

More by Piotr Bania

View all

94 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.