{"id":"CVE-2025-53012","aliases":["GHSA-qc2h-74x3-4v3w","PYSEC-2026-1608"],"url":"https://o3.security/vulnerability/CVE-2025-53012","summary":"MaterialX's Lack of Import Depth Limit Leads to DoS (Denial-Of-Service) Via Stack Exhaustion","details":"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.","published":"2025-08-01T18:00:39.115Z","modified":"2026-08-12T03:51:29.937638962Z","cvss":null,"epss":{"score":0.00818,"percentile":0.54424,"asOf":"2026-08-24"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"materialx","fixedVersion":"1.39.3"}],"fix":{"url":"https://github.com/AcademySoftwareFoundation/MaterialX/pull/2233/commits/6182c07467297416a30d148ab531d81198686dc5","label":"AcademySoftwareFoundation/MaterialX#2233"},"references":[{"type":"WEB","url":"https://github.com/AcademySoftwareFoundation/MaterialX/blob/main/documents/Specification/MaterialX.Specification.md#mtlx-file-format-definition"},{"type":"WEB","url":"https://github.com/AcademySoftwareFoundation/MaterialX/pull/2233/commits/6182c07467297416a30d148ab531d81198686dc5"},{"type":"WEB","url":"https://github.com/AcademySoftwareFoundation/MaterialX/releases/tag/v1.39.3"},{"type":"ADVISORY","url":"https://github.com/AcademySoftwareFoundation/MaterialX/security/advisories/GHSA-qc2h-74x3-4v3w"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53012.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53012"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:29.937638962Z"}}