← Vulnerability feed

Vulnerability record · CVE-2026-27942 · published 26 February 2026

CVE-2026-27942: Naturalintelligence fast-xml-parser classic buffer overflow vulnerability

Naturalintelligence · Fast Xml Parser

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.

2.7 CVSS 4.0 Low EPSS 0.66% · top 50.7% CWE-120 · Classic buffer overflow
2.7CVSS 4.0 base score
0.66%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
3References
17 Jun 2026Last modified by NVD

Description

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.

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:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-27942 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.3CVE-2026-25896Naturalintelligence fast-xml-parser cross-site scripting vulnerabilityfast-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. From…EPSS 0.50%7.5CVE-2026-33036Naturalintelligence fast-xml-parser vulnerabilityfast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Versions 4.0.0-beta.3 through 5.5.5 contain a …EPSS 0.73%7.5CVE-2026-26278Naturalintelligence fast-xml-parser vulnerabilityfast-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. In v…EPSS 0.97%7.5CVE-2026-25128Naturalintelligence fast-xml-parser improper input validation vulnerabilityfast-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. In v…EPSS 0.58%7.5CVE-2024-41818Naturalintelligence fast-xml-parser uncontrolled resource consumption vulnerabilityfast-xml-parser is an open source, pure javascript xml parser. a ReDOS exists on currency.js. This vulnerability is fixed in 4.4.1.EPSS 0.83%7.5CVE-2023-34104Naturalintelligence fast-xml-parser uncontrolled resource consumption vulnerabilityfast-xml-parser is an open source, pure javascript xml parser. fast-xml-parser allows special characters in entity names, which are not escaped or sa…EPSS 1.1%6.1CVE-2026-41650Naturalintelligence fast-xml-parser xml injection vulnerabilityfast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to version 5.7.0, XMLBuilder does not es…EPSS 0.27%5.9CVE-2026-33349Naturalintelligence fast-xml-parser vulnerabilityfast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. From version 4.0.0-beta.3 to before version 5.…EPSS 0.48%

Source: NIST National Vulnerability Database (record CVE-2026-27942), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.