Vulnerability · Published Aug 1, 2025 · Assigned by GitHub_M
CVE-2025-53009MaterialX Stack Overflow via Lack of MTLX XML Parsing Recursion Limit
Medium 5.5
In plain English
A medium-severity stack buffer overflow in MaterialX from AcademySoftwareFoundation. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | materialx | 1.39.3 | GHSA-wx6g-fm6f-w822 |
| PyPI | materialx | 1.39.3 | PYSEC-2026-1609 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| AcademySoftwareFoundation | MaterialX | >= 1.39.2, < 1.39.3 |
Weakness: CWE-121 · 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
References
- https://github.com/AcademySoftwareFoundation/MaterialX/security/advisories/GHSA-wx6g-fm6f-w822 x_refsource_CONFIRM
- https://github.com/AcademySoftwareFoundation/MaterialX/issues/2504 x_refsource_MISC
- https://github.com/AcademySoftwareFoundation/MaterialX/pull/2505 x_refsource_MISC
- https://github.com/AcademySoftwareFoundation/MaterialX/releases/tag/v1.39.3 x_refsource_MISC
- https://github.com/ShielderSec/poc/tree/main/CVE-2025-53009 x_refsource_MISC