CVE-2025-53012 MaterialX's Lack of Import Depth Limit Leads to DoS (Denial-Of-Service) Via Stack Exhaustion
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
MaterialX is an open standard for the exchange of rich material and look-development content across applications and renderers. In version 1.39.2, nested imports of MaterialX files can lead to a crash via stack memory exhaustion, due to the lack of a limit on the "import chain" depth. When parsing file imports, recursion is used to process nested files; however, there is no limit imposed to the depth of files that can be parsed by the library. By building a sufficiently deep chain of MaterialX files one referencing the next, it is possible to crash the process using the MaterialX library via stack exhaustion. This is fixed in version 1.39.3.
Upgrade path
3 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi materialx(PyPI) | = 1.39.2; >= 1.39.2, < 1.39.3 | 1.39.3 | Fixed |
| AcademySoftwareFoundation MaterialX | = >= 1.39.2, < 1.39.3 | No fix listed | Versions listed |
| linuxfoundation materialx | = 1.39.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi materialx(PyPI) | >= 1.39.2, < 1.39.3 | 1.39.3 |
| pypi materialx(PyPI) | = 1.39.2 | No fix listed |
| AcademySoftwareFoundation MaterialX | = >= 1.39.2, < 1.39.3 | No fix listed |
| linuxfoundation materialx | = 1.39.2 | No fix listed |
References
- https://github.com/AcademySoftwareFoundation/MaterialX/security/advisories/GHSA-qc2h-74x3-4v3w exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/AcademySoftwareFoundation/MaterialX/pull/2233/commits/6182c07467297416a30d148ab531d81198686dc5 patch
- github.com product
- https://github.com/AcademySoftwareFoundation/MaterialX/blob/main/documents/Specification/MaterialX.Specification.md#mtlx-file-format-definition product
- https://github.com/AcademySoftwareFoundation/MaterialX/releases/tag/v1.39.3 release-notes
- pypi.org product
- github.com vendor-advisory