CVE-2025-53009Medium▾ SunlitMaterialX Stack Overflow via Lack of MTLX XML Parsing Recursion Limit
▾ Sunlit zone — Low / medium · no exploitation signal
impact 27.5 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 8.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
0.6%
When parsing an MTLX file with multiple nested nodegraph implementations, the MaterialX XML parsing logic can potentially crash due to stack exhaustion.
By specification, multiple kinds of elements in MTLX support nesting other elements, such as in the case of nodegraph elements. Parsing these subtrees is implemented via recursion, and since there is no max depth imposed on the XML document, this can lead to a stack overflow when the library parses an MTLX file with an excessively high number of nested elements.
Please download the recursion_overflow.mtlx file from the following link:
https://github.com/ShielderSec/poc/tree/main/CVE-2025-53009
build/bin/MaterialXView --material recursion_overflow.mtlx
An attacker could intentionally crash a target program that uses MaterialX by sending a malicious MTLX file.
materialx >= 1.39.2, < 1.39.3Upgrade to a patched release:
materialx 1.39.3Connected by shared product, vendor, weakness, or advisory.
CVE-2025-53012MediumMaterialX Lack of MTLX Import Depth Limit Leads to DoS (Denial-Of-Service) Via Stack Exhaustion
CVE-2025-53011LowMaterialX Null Pointer Dereference in MaterialXCore Shader Generation due to Unchecked implGraphOutput
CVE-2025-53010LowMaterialX Null Pointer Dereference in getShaderNodes due to Unchecked nodeGraph->getOutput return