{"id":"CVE-2025-53009","aliases":["CVE-2025-53009","GHSA-wx6g-fm6f-w822","PYSEC-2026-1609"],"related":[],"kind":"vulnerability","state":"published","title":"MaterialX Stack Overflow via Lack of MTLX XML Parsing Recursion Limit","summary":"MaterialX is an open standard for the exchange of rich material and look-development content across applications and renderers. In versions 1.39.2 and below, when parsing an MTLX file with multiple nested nodegraph implementations, the MaterialX XML parsing logic can potentially crash due to stack exhaustion. An attacker could intentionally crash a target program that uses OpenEXR 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 versions 1.39.2 and below, when parsing an MTLX file with multiple nested nodegraph implementations, the MaterialX XML parsing logic can potentially crash due to stack exhaustion. An attacker could intentionally crash a target program that uses OpenEXR by sending a malicious MTLX file. This is fixed in version 1.39.3.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nWhen parsing an MTLX file with multiple nested `nodegraph` implementations, the MaterialX XML parsing logic can potentially crash due to stack exhaustion.\n\n### Details\n\nBy 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.\n\n### PoC\n\nPlease download the `recursion_overflow.mtlx` file from the following link: \n\nhttps://github.com/ShielderSec/poc/tree/main/CVE-2025-53009\n\n`build/bin/MaterialXView --material recursion_overflow.mtlx`\n\n\n### Impact\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 material enriquecido y contenido de desarrollo de apariencia entre aplicaciones y renderizadores. En las versiones 1.39.2 y anteriores, al analizar un archivo MTLX con múltiples implementaciones de nodegraph anidadas, la lógica de análisis XML de MaterialX puede bloquearse debido al agotamiento de la pila. Un atacante podría bloquear intencionalmente un programa objetivo que use OpenEXR enviando un archivo MTLX malicioso. Esto se solucionó en la versión 1.39.3.","source":"nvd"}],"published":"2025-07-31T19:37:48.000Z","modified":"2026-07-07T17:56:59.752Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","rating":"MEDIUM"},{"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:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"}],"cwes":["CWE-121"],"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-wx6g-fm6f-w822","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/AcademySoftwareFoundation/MaterialX/issues/2504","tags":["issue-tracking","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/AcademySoftwareFoundation/MaterialX/pull/2505","tags":["issue-tracking","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-53009","tags":["exploit","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53009","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/AcademySoftwareFoundation/MaterialX/commit/91ffea0de7bfe7bcd0c399b07f04fc48227055ff","tags":["web"],"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-wx6g-fm6f-w822","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-08-01T18:22:02.537Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-53009","url":"https://www.cve.org/CVERecord?id=CVE-2025-53009","licence":"CVE Terms of Use","modified":"2025-08-01T18:22:16.665Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wx6g-fm6f-w822","url":"https://github.com/advisories/GHSA-wx6g-fm6f-w822","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:59.752Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-53009","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53009","licence":"Public domain","modified":"2026-06-17T09:37:28.160Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1609","url":"https://osv.dev/vulnerability/PYSEC-2026-1609","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:03.413Z"}],"updatedAt":"2026-11-25T22:59:01.972Z","epss":{"score":0.00715,"percentile":0.54972,"date":"2026-12-02T12:00:21.000Z"}}