CVE-2026-27942

Source
https://cve.org/CVERecord?id=CVE-2026-27942
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27942.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-27942
Aliases
Downstream
Related
Published
2026-02-26T01:22:11.383Z
Modified
2026-03-03T02:56:50.767936Z
Severity
  • 2.7 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
fast-xml-parser has stack overflow in XMLBuilder with preserveOrder
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-120"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27942.json"
}
References

Affected packages

Git / github.com/naturalintelligence/fast-xml-parser

Affected ranges

Type
GIT
Repo
https://github.com/naturalintelligence/fast-xml-parser
Events

Affected versions

v5.*
v5.0.0
v5.0.2
v5.0.4
v5.0.6
v5.0.7
v5.0.9
v5.1.0
v5.2.0
v5.2.1
v5.2.2
v5.2.3
v5.2.5
v5.3.0
v5.3.1
v5.3.2
v5.3.3
v5.3.4
v5.3.5
v5.3.6
v5.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27942.json"