logo

CVE-2025-53009 materialx

Package

Manager: pip
Name: materialx
Vulnerable Version: =1.39.2 || >=1.39.2 <1.39.3

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C

CVSS v4.0: 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

EPSS: 0.00079 pctl0.24159

Details

MaterialX Stack Overflow via Lack of MTLX XML Parsing Recursion Limit ### Summary When parsing an MTLX file with multiple nested `nodegraph` implementations, the MaterialX XML parsing logic can potentially crash due to stack exhaustion. ### Details 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. ### PoC 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` ### Impact An attacker could intentionally crash a target program that uses MaterialX by sending a malicious MTLX file.

Metadata

Created: 2025-07-31T19:37:48Z
Modified: 2025-08-01T18:35:57Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-wx6g-fm6f-w822/GHSA-wx6g-fm6f-w822.json
CWE IDs: ["CWE-121"]
Alternative ID: GHSA-wx6g-fm6f-w822
Finding: F316
Auto approve: 1