CVE-2026-27942
HIGH7.5EPSS 0.02%fast-xml-parser has stack overflow in XMLBuilder with preserveOrder
發布日:2026/2/26修改日:2026/4/28
描述
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)
- Debian/node-webfontfrom 0
- npm/fast-xml-parser>= 5.0.0, < 5.3.8
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-27942
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-27942
- PATCHhttps://github.com/NaturalIntelligence/fast-xml-parser
- WEBhttps://github.com/NaturalIntelligence/fast-xml-parser/commit/c13a961910f14986295dd28484eee830fa1a0e8a
- WEBhttps://github.com/NaturalIntelligence/fast-xml-parser/pull/791
- WEBhttps://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-fj3w-jwp8-x2g3