MaterialX Null Pointer Dereference Vulnerability in Shader Node Parsing
Vulnerability
A null pointer dereference vulnerability has been identified in MaterialX version 1.39.2. When the MaterialXCore library parses shader nodes from a MTLX file, it accesses a pointer that may be null, potentially leading to program crashes. This issue can be exploited by sending a maliciously crafted MTLX file to a program that uses MaterialX, causing it to crash. The vulnerability has been patched in version 1.39.3.
Impact
Exploitation of this vulnerability can cause a program that uses MaterialX to crash.
Reproduction
To reproduce this vulnerability, use MaterialX version 1.39.2 and open a MTLX file that has been crafted to exploit the null pointer dereference. This can be done using the MaterialXViewer application. The MTLX file 'nullptr_implgraph.mtlx' available in the GitHub repository 'ShielderSec/poc' can be used as a proof of concept.
Remediation
Users can upgrade to MaterialX version 1.39.3, where this vulnerability has been fixed.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
