Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-wx6g-fm6f-w822

Опубликовано: 31 июл. 2025
Источник: github
Github: Прошло ревью
CVSS4: 5.5

Описание

MaterialX Stack Overflow via Lack of MTLX XML Parsing Recursion Limit

Summary

When parsing an MTLX file with multiple nested nodegraph implementations, the MaterialX XML parsing logic can potentially crash due to stack exhaustion.

Details

By specification, multiple kinds of elements in MTLX support nesting other elements, such as in the case of nodegraph elements. Parsing these subtrees is implemented via recursion, and since there is no max depth imposed on the XML document, this can lead to a stack overflow when the library parses an MTLX file with an excessively high number of nested elements.

PoC

Please download the recursion_overflow.mtlx file from the following link:

https://github.com/ShielderSec/poc/tree/main/CVE-2025-53009

build/bin/MaterialXView --material recursion_overflow.mtlx

Impact

An attacker could intentionally crash a target program that uses MaterialX by sending a malicious MTLX file.

Пакеты

Наименование

MaterialX

pip
Затронутые версииВерсия исправления

= 1.39.2

1.39.3

EPSS

Процентиль: 55%
0.00324
Низкий

5.5 Medium

CVSS4

Дефекты

CWE-121

Связанные уязвимости

CVSS3: 7.5
nvd
6 месяцев назад

MaterialX is an open standard for the exchange of rich material and look-development content across applications and renderers. In versions 1.39.2 and below, when parsing an MTLX file with multiple nested nodegraph implementations, the MaterialX XML parsing logic can potentially crash due to stack exhaustion. An attacker could intentionally crash a target program that uses OpenEXR by sending a malicious MTLX file. This is fixed in version 1.39.3.

EPSS

Процентиль: 55%
0.00324
Низкий

5.5 Medium

CVSS4

Дефекты

CWE-121