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

exploitDog

redhat логотип

CVE-2026-27942

Опубликовано: 26 фев. 2026
Источник: redhat
CVSS3: 7.5
EPSS Низкий

Описание

fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object without C/C++ based libraries and no callback. Prior to version 5.3.8, the application crashes with stack overflow when user use XML builder with preserveOrder:true. Version 5.3.8 fixes the issue. As a workaround, use XML builder with preserveOrder:false or check the input data before passing to builder.

A flaw was found in fast-xml-parser. A user can exploit this flaw by processing specially crafted XML data with the XML builder when the preserveOrder option is enabled. This can lead to a stack overflow, causing the application to crash and resulting in a Denial of Service (DoS).

Отчет

The flaw affects the XML builder component of the fast-xml-parser library and is triggered only when the preserveOrder option is explicitly enabled. In Red Hat–shipped configurations, this option is not enabled by default, and the vulnerable code path is therefore not exercised under typical deployments. The underlying issue results in uncontrolled recursion leading to a stack overflow condition, which causes the application to terminate unexpectedly. While this can be triggered via crafted input, the impact is limited strictly to denial of service (DoS) and does not provide a mechanism for arbitrary code execution, privilege escalation, or data disclosure. Furthermore, exploitation requires that the affected application processes attacker-controlled XML input through the XML builder functionality with the specific vulnerable configuration enabled. This significantly reduces the attack surface and introduces environmental constraints not considered in the generalized NVD scoring. Given the absence of confidentiality and integrity impact, the requirement for non-default configuration, and the limitation of the impact to process termination, Red Hat considers the practical risk to be lower than the NVD assessment. As such, this issue is classified as Moderate severity.

Меры по смягчению последствий

To mitigate this vulnerability, configure applications using the fast-xml-parser XML builder to set the preserveOrder option to false. Alternatively, ensure that all XML input data is thoroughly validated before being passed to the builder to prevent the processing of malicious or malformed content.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Migration Toolkit for Applications 8mta/mta-ui-rhel9Affected
Red Hat OpenShift GitOpsopenshift-gitops-1/argocd-rhel8Affected
Red Hat OpenShift GitOpsopenshift-gitops-1/argocd-rhel9Affected
Red Hat OpenShift Virtualization 4container-native-virtualization/kubevirt-console-pluginNot affected
Red Hat OpenShift Virtualization 4container-native-virtualization/kubevirt-console-plugin-rhel9Not affected
Red Hat Satellite 6satellite/iop-vulnerability-frontend-rhel9Not affected
Self-service automation portal 2ansible-automation-platform/automation-portalAffected
Red Hat Advanced Cluster Security 4.8advanced-cluster-security/rhacs-main-rhel8FixedRHSA-2026:711008.04.2026
Red Hat Advanced Cluster Security 4.9advanced-cluster-security/rhacs-main-rhel8FixedRHSA-2026:712808.04.2026
Red Hat Developer Hub 1.8rhdh/rhdh-hub-rhel9FixedRHSA-2026:617430.03.2026

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-776
https://bugzilla.redhat.com/show_bug.cgi?id=2442938fast-xml-parser: fast-xml-parser: Stack overflow leads to Denial of Service

EPSS

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

7.5 High

CVSS3

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

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

fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object without C/C++ based libraries and no callback. Prior to version 5.3.8, the application crashes with stack overflow when user use XML builder with `preserveOrder:true`. Version 5.3.8 fixes the issue. As a workaround, use XML builder with `preserveOrder:false` or check the input data before passing to builder.

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

fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object without C/C++ based libraries and no callback. Prior to version 5.3.8, the application crashes with stack overflow when user use XML builder with `preserveOrder:true`. Version 5.3.8 fixes the issue. As a workaround, use XML builder with `preserveOrder:false` or check the input data before passing to builder.

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

fast-xml-parser allows users to validate XML, parse XML to JS object, ...

github
6 месяцев назад

fast-xml-parser has stack overflow in XMLBuilder with preserveOrder

EPSS

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

7.5 High

CVSS3