# CVE-2025-53012: MaterialX's Lack of Import Depth Limit Leads to DoS (Denial-Of-Service) Via Stack Exhaustion

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-08-01 · Modified: 2025-08-01
- Aliases: GHSA-qc2h-74x3-4v3w, PYSEC-2026-1608
- Record: https://cvemate.com/vulnerability/CVE-2025-53012 · JSON: https://cvemate.com/vulnerability/CVE-2025-53012/json

## Description

```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, 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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.958%, percentile 62.669%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- academysoftwarefoundation materialx: ≥ 1.39.2, \< 1.39.3
- linuxfoundation materialx: 1.39.2
- PyPI materialx (PyPI): ≥ 1.39.2, \< 1.39.3

## References

- <https://github.com/AcademySoftwareFoundation/MaterialX/security/advisories/GHSA-qc2h-74x3-4v3w>
- <https://github.com/AcademySoftwareFoundation/MaterialX/pull/2233/commits/6182c07467297416a30d148ab531d81198686dc5>
- <https://github.com/AcademySoftwareFoundation/MaterialX/blob/main/documents/Specification/MaterialX.Specification.md#mtlx-file-format-definition>
- <https://github.com/AcademySoftwareFoundation/MaterialX/releases/tag/v1.39.3>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-53012>
- <https://github.com/AcademySoftwareFoundation/MaterialX>
- <https://pypi.org/project/materialx>
- <https://github.com/advisories/GHSA-qc2h-74x3-4v3w>

---

Data as of 2026-12-05T04:58:58.013Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
