CVE-2026-18629: GPU DDK - libusc.so NPD due to integer overflow at ConvertSwitchToArrayLookup during WebGPU shader compilation
A web page that contains unusual GPU shader code is loaded into the GPU compiler process and can lead memory allocation failure. If the allocation failure is not properly handled, the compiler may dereference a NULL pointer at a controlled offset, resulting in a crash of the compiler process. On certain platforms, when the compiler process has system privileges this could lead to crashes or enable further exploits on the device.
The weakness results from performing arithmetic operations on values derived from the shader program without properly preventing integer overflow. The overflow can cause incorrect memory size calculations, leading to memory allocation failures and subsequent invalid program behaviour. Integer overflow can produce unexpected values that affect memory allocation and other security-relevant operations.
Event History
Frequently Asked Questions
Which environments have the greatest potential impact?
The highest-risk cases are platforms where the GPU compiler process has system privileges. In those environments, the issue may extend beyond a compiler-process crash and could enable further exploitation on the device.
What must occur for an attacker to trigger the issue?
A user must load a web page containing unusual GPU shader code that is compiled by the GPU compiler process during WebGPU shader compilation.