CVE-2025-53009: AcademySoftwareFoundation MaterialX stack overflow in XML parsing

CVE-2025-53009 · Severity: medium · CVSS 4 · Published 2025-07-31

MaterialX is an open-source library used for describing and sharing rich visual materials in computer graphics and film production. A vulnerability in how the library handles complex files could allow an attacker to crash applications that use this software. By providing a specially crafted material file with excessive nesting, an attacker can cause a service outage or application failure, potentially disrupting production workflows.

Technologies: MaterialX (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2025-53009 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-53009 being exploited in the wild.
How severe is CVE-2025-53009?
Medium severity, with a CVSS score of 4, published 31 July 2025.
Which products and versions are affected?
MaterialX (PyPI) = 1.39.2, ECOSYSTEM:introduced=1.39.2,fixed=1.39.3.
Is there a fix for CVE-2025-53009?
Yes. MaterialX (PyPI): upgrade to 1.39.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2025-53009 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2025-53009?
Check whether you run MaterialX (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • MaterialX (PyPI): upgrade to 1.39.3 or later
    pip install "MaterialX>=1.39.3"

Technical details

A stack-based buffer overflow (CWE-121) exists in MaterialX version 1.39.2 due to a lack of recursion depth limits during XML parsing. The library uses recursive functions to process nested elements like 'nodegraph' within MTLX files. An attacker can provide a malicious MTLX file containing an excessively high number of nested elements to exhaust the stack memory, resulting in a crash (denial of service). The issue is reachable over the network if an application accepts and parses untrusted MTLX files. This vulnerability is addressed in version 1.39.3.

Affected products

  • AcademySoftwareFoundation MaterialX 1.39.2

Identifiers

  • CVE-2025-53009
  • GHSA-wx6g-fm6f-w822
  • PYSEC-2026-1609

Timeline

  • 2025-07-31: disclosed
  • 2025-07-31: advisory
  • 2025-07-31: patched: Fixed in version 1.39.3

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.