{"schemaVersion":3,"id":"CVE-2025-53012","aliases":["GHSA-qc2h-74x3-4v3w","PYSEC-2026-1608"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-08-01T18:00:39.115Z","modified":"2025-08-01T19:04:41.209Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.5,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":6.9,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.5,"severity":"medium","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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00852,"percentile":0.5754,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.034,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00818},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00852,"percentile":0.5754}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00818,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00852,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00852,"percentile":0.5754}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_ACADEMYSOFTWAREFOUNDATION_MATERIALX","name":"Materialx","source":"github","url":"https://github.com/AcademySoftwareFoundation/MaterialX/security/advisories/GHSA-wx6g-fm6f-w822","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"}],"affected":[{"vendor":"academysoftwarefoundation","product":"materialx","name":"MaterialX","label":"materialx","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.39.2, < 1.39.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.39.2, < 1.39.3","eol":null,"hubHref":"/vendor/academysoftwarefoundation/materialx"},{"vendor":"linuxfoundation","product":"materialx","name":"materialx","label":"materialx","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.39.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.39.2","eol":null,"hubHref":"/vendor/linuxfoundation/materialx"},{"vendor":"PyPI","product":"materialx","name":"materialx","label":"materialx","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/materialx","purlType":"pypi","versions":[{"text":"≥ 1.39.2, < 1.39.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.39.2, < 1.39.3","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/AcademySoftwareFoundation/MaterialX/security/advisories/GHSA-qc2h-74x3-4v3w","label":"github.com/AcademySoftwareFoundation/MaterialX/security/advisories/GHSA-qc2h-74x3-4v3w","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Exploit","Vendor Advisory"]},{"url":"https://github.com/AcademySoftwareFoundation/MaterialX/pull/2233/commits/6182c07467297416a30d148ab531d81198686dc5","label":"github.com/AcademySoftwareFoundation/…","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/AcademySoftwareFoundation/MaterialX/blob/main/documents/Specification/MaterialX.Specification.md#mtlx-file-format-definition","label":"github.com/AcademySoftwareFoundation/…","hostname":"github.com","tags":["X Refsource MISC","WEB","Product"]},{"url":"https://github.com/AcademySoftwareFoundation/MaterialX/releases/tag/v1.39.3","label":"github.com/AcademySoftwareFoundation/MaterialX/releases/tag/v1.39.3","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53012","label":"nvd.nist.gov/vuln/detail/CVE-2025-53012","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/AcademySoftwareFoundation/MaterialX","label":"github.com/AcademySoftwareFoundation/MaterialX","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/materialx","label":"pypi.org/project/materialx","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-qc2h-74x3-4v3w","label":"github.com/advisories/GHSA-qc2h-74x3-4v3w","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-08-01T18:00:39.115Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-08-01T19:04:41.209Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T22:43:11.246Z","stale":false,"partial":false}}