{"answers":{"affected":"3 open source packages ship an affected version, including materialx and MaterialX. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-53012 exists.","fix":"Upgrade materialx to 1.39.3 or later.","what":"CVE-2025-53012 is a medium-severity denial of service vulnerability in AcademySoftwareFoundation MaterialX, published on 1 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-53012 and fix it if it is affected.\n\nWhat it is: CVE-2025-53012 is a medium-severity denial of service vulnerability in AcademySoftwareFoundation MaterialX, published on 1 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-53012 exists.\n\nAffected packages and fixed versions:\n- materialx (PyPI): affected from 1.39.2; fixed in 1.39.3\n- materialx (PyPI): affected from 1.39.2; fixed in 1.39.3\n- MaterialX (PyPI): affected from 1.39.2; fixed in 1.39.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-53012/ (Markdown: https://insights.sbomify.com/CVE-2025-53012/index.md)","id":"CVE-2025-53012","markdown":"https://insights.sbomify.com/CVE-2025-53012/index.md","name":"CVE-2025-53012","record":{"aliases":["GHSA-qc2h-74x3-4v3w","PYSEC-2026-1608"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"MaterialX library","requires_auth":"none","summary":"Attackers can crash applications using the MaterialX library by providing deeply nested file imports, causing stack exhaustion.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"materialx","vendor":"linuxfoundation"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"MaterialX's Lack of Import Depth Limit Leads to DoS (Denial-Of-Service) Via Stack Exhaustion","id":"CVE-2025-53012","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":3,"n_references":4,"next":{"headline":"Himmelblau offline auth permits authentication with invalid Hello PIN","id":"CVE-2025-53013"},"packages":[{"ecosystem":"PyPI","fixed":["1.39.3"],"introduced":["1.39.2"],"last_affected":[],"package":"MaterialX","purl":null,"source":"GHSA-qc2h-74x3-4v3w"},{"ecosystem":"PyPI","fixed":["1.39.3"],"introduced":["1.39.2"],"last_affected":[],"package":"materialx","purl":"pkg:pypi/materialx","source":"GHSA-qc2h-74x3-4v3w"},{"ecosystem":"PyPI","fixed":["1.39.3"],"introduced":["1.39.2"],"last_affected":[],"package":"materialx","purl":"pkg:pypi/materialx","source":"PYSEC-2026-1608"}],"prev":{"headline":"MaterialX is Vulnerable to NULL Pointer Dereference due to Unchecked implGraphOutput","id":"CVE-2025-53011"},"products":["MaterialX"],"published":"2025-08-01","related":[{"cvss_score":5.5,"headline":"MaterialX Stack Overflow via Lack of MTLX XML Parsing Recursion Limit","id":"CVE-2025-53009","kev_date_added":null,"published":"2025-08-01"},{"cvss_score":2,"headline":"MaterialX's unchecked nodeGraph-\u003egetOutput return is vulnerable to NULL Pointer Dereference","id":"CVE-2025-53010","kev_date_added":null,"published":"2025-08-01"},{"cvss_score":2,"headline":"MaterialX is Vulnerable to NULL Pointer Dereference due to Unchecked implGraphOutput","id":"CVE-2025-53011","kev_date_added":null,"published":"2025-08-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-08-01","vendors":["AcademySoftwareFoundation"]},"summary":"Attackers can crash applications using the MaterialX library by providing deeply nested file imports, causing stack exhaustion.","url":"https://insights.sbomify.com/CVE-2025-53012/"}