Skip to content

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

MediumCVSS 5.5 EPSS 0.96%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi materialx(PyPI) = 1.39.2; >= 1.39.2, < 1.39.3 1.39.3 Fixed
AcademySoftwareFoundation MaterialX = >= 1.39.2, < 1.39.3 No fix listed Versions listed
linuxfoundation materialx = 1.39.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi materialx(PyPI) >= 1.39.2, < 1.39.3 1.39.3
pypi materialx(PyPI) = 1.39.2 No fix listed
AcademySoftwareFoundation MaterialX = >= 1.39.2, < 1.39.3 No fix listed
linuxfoundation materialx = 1.39.2 No fix listed

References