{"id":"CVE-2025-53011","aliases":["CVE-2025-53011","GHSA-7qw8-3vmf-gj32","PYSEC-2026-1607"],"related":[],"kind":"vulnerability","state":"published","title":"MaterialX is Vulnerable to NULL Pointer Dereference due to Unchecked implGraphOutput","summary":"MaterialX is an open standard for the exchange of rich material and look-development content across applications and renderers. In version 1.39.2, when parsing shader nodes in a MTLX file, the MaterialXCore code accesses a potentially null pointer, which can lead to crashes with maliciously crafted files. An attacker could intentionally crash a target program that uses MaterialX by sending a malicious MTLX file. This is fixed in version 1.39.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"MaterialX is an open standard for the exchange of rich material and look-development content across applications and renderers. In version 1.39.2, when parsing shader nodes in a MTLX file, the MaterialXCore code accesses a potentially null pointer, which can lead to crashes with maliciously crafted files. An attacker could intentionally crash a target program that uses MaterialX by sending a malicious MTLX file. This is fixed in version 1.39.3.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nWhen parsing shader nodes in a MTLX file, the MaterialXCore code accesses a potentially null pointer, which can lead to crashes with maliciously crafted files.\n\n### Details\n\nIn `source/MaterialXCore/Material.cpp`, the following code extracts the output nodes for a given implementation graph:\n\n```cpp\n   InterfaceElementPtr impl = materialNodeDef->getImplementation();\n            if (impl && impl->isA<NodeGraph>())\n            {\n                NodeGraphPtr implGraph = impl->asA<NodeGraph>();\n                for (OutputPtr defOutput : materialNodeDef->getOutputs())\n                {\n                    if (defOutput->getType() == MATERIAL_TYPE_STRING)\n                    {\n                        OutputPtr implGraphOutput = implGraph->getOutput(defOutput->getName());\n                        for (GraphIterator it = implGraphOutput->traverseGraph().begin(); it != GraphIterator::end(); ++it)\n                        {\n                            ElementPtr upstreamElem = it.getUpstreamElement();\n                            if (!upstreamElem)\n                            {\n                                it.setPruneSubgraph(true);\n                                continue;\n                            }\n                            NodePtr upstreamNode = upstreamElem->asA<Node>();\n                            if (upstreamNode && upstream\n```\n\nHowever, when defining the `implGraphOutput` variable by getting the output node, the code doesn't check whether its value is null before accessing its iterator `traverseGraph()`. This leads to a potential null pointer dereference.\n\n### PoC\n\nPlease download `nullptr_implgraph.mtlx` from the following link:\n\nhttps://github.com/ShielderSec/poc/tree/main/CVE-2025-53011\n\n`build/bin/MaterialXView --material nullptr_implgraph.mtlx`\n\n### Impact\n\nAn attacker could intentionally crash a target program that uses MaterialX by sending a malicious MTLX file.","format":"markdown","source":"ghsa"},{"lang":"es","text":"MaterialX es un estándar abierto para el intercambio de contenido de desarrollo visual y de materiales enriquecidos entre aplicaciones y renderizadores. En la versión 1.39.2, al analizar nodos de sombreado en un archivo MTLX, el código de MaterialXCore accede a un puntero potencialmente nulo, lo que puede provocar fallos con archivos maliciosos. Un atacante podría bloquear intencionalmente un programa objetivo que use MaterialX enviando un archivo MTLX malicioso. Esto se solucionó en la versión 1.39.3.","source":"nvd"}],"published":"2025-07-31T18:31:23.000Z","modified":"2026-07-07T17:56:41.450Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","score":2,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","score":2,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"version":">= 1.39.2, < 1.39.3","status":"affected"}],"vendor":"AcademySoftwareFoundation","product":"MaterialX","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.39.2","status":"affected","fixed":"1.39.3"}],"ecosystem":"PyPI","package":"materialx","purl":"pkg:pypi/materialx","source":"ghsa"},{"ranges":[{"status":"affected","version":"1.39.2"}],"vendor":"linuxfoundation","product":"materialx","cpe":"cpe:2.3:a:linuxfoundation:materialx:1.39.2:-:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"1.39.2","status":"affected","fixed":"1.39.3"}],"ecosystem":"PyPI","package":"materialx","purl":"pkg:pypi/materialx","source":"pysec"}],"references":[{"url":"https://github.com/AcademySoftwareFoundation/MaterialX/security/advisories/GHSA-7qw8-3vmf-gj32","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/AcademySoftwareFoundation/MaterialX/commit/7ac1c71de5187dc29793292b5a8dc6d784192ecf","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/AcademySoftwareFoundation/MaterialX/releases/tag/v1.39.3","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/ShielderSec/poc/tree/main/CVE-2025-53011","tags":["exploit","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53011","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/AcademySoftwareFoundation/MaterialX","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/materialx","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-7qw8-3vmf-gj32","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-08-01T18:16:26.186Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-53011","url":"https://www.cve.org/CVERecord?id=CVE-2025-53011","licence":"CVE Terms of Use","modified":"2025-08-01T18:16:36.719Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7qw8-3vmf-gj32","url":"https://github.com/advisories/GHSA-7qw8-3vmf-gj32","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:41.450Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-53011","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53011","licence":"Public domain","modified":"2026-06-17T09:37:28.403Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1607","url":"https://osv.dev/vulnerability/PYSEC-2026-1607","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:15.486Z"}],"updatedAt":"2026-11-25T22:59:01.973Z","epss":{"score":0.00612,"percentile":0.50658,"date":"2026-12-01T12:00:22.000Z"}}