CVE-2026-27942
CVE-2026-27942 · fast-xml-parser has stack overflow in XMLBuilder with preserveOrder
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 2.7 · Low · EPSS 0.5% · Fix available
- Published
- Updated
Affected products and versions
fast-xml-parser
- Versions
- < 5.3.8: Affected
No fix published
node-webfont Debian:12
- Versions
- 11.4.0+dfsg2+~cs35.7.26-10
- 11.4.0+dfsg2+~cs35.7.26-11
- 11.4.0+dfsg2+~cs35.7.26-12
- 11.4.0+dfsg2+~cs35.7.26-13
- 11.4.0+dfsg2+~cs35.7.26-14
- 11.4.0+dfsg2+~cs35.7.26-15
- 11.4.0+dfsg2+~cs35.7.26-16
- 11.4.0+dfsg2+~cs35.7.26-18
- 11.4.0+dfsg2+~cs35.7.26-19
- 11.4.0+dfsg2+~cs35.7.26-20
- 11.4.0+dfsg2+~cs35.7.26-21
- 11.4.0+dfsg2+~cs35.7.26-7
- 11.4.0+dfsg2+~cs35.7.26-8
- 11.4.0+dfsg2+~cs35.7.26-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-webfont Debian:13
- Versions
- 11.4.0+dfsg2+~cs35.7.26-13
- 11.4.0+dfsg2+~cs35.7.26-14
- 11.4.0+dfsg2+~cs35.7.26-15
- 11.4.0+dfsg2+~cs35.7.26-16
- 11.4.0+dfsg2+~cs35.7.26-18
- 11.4.0+dfsg2+~cs35.7.26-19
- 11.4.0+dfsg2+~cs35.7.26-20
- 11.4.0+dfsg2+~cs35.7.26-21
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-webfont Debian:14
- Versions
- 11.4.0+dfsg2+~cs35.7.26-13
- 11.4.0+dfsg2+~cs35.7.26-14
- 11.4.0+dfsg2+~cs35.7.26-15
- 11.4.0+dfsg2+~cs35.7.26-16
- 11.4.0+dfsg2+~cs35.7.26-18
- 11.4.0+dfsg2+~cs35.7.26-19
- 11.4.0+dfsg2+~cs35.7.26-20
- 11.4.0+dfsg2+~cs35.7.26-21
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
fast-xml-parser npm
- Affected ranges
- SEMVER: ≥ 5.0.0, < 5.3.8
Update to 5.3.8
fast-xml-parser npm
- Affected ranges
- SEMVER: ≥ 4.0.0-beta.0, < 4.5.4
Update to 4.5.4
node-webfont Ubuntu:24.04:LTS
- Versions
- 11.4.0+dfsg2+~cs35.7.26-7ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-webfont Ubuntu:25.10
- Versions
- 11.4.0+dfsg2+~cs35.7.26-10
- 11.4.0+dfsg2+~cs35.7.26-13ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-webfont Ubuntu:26.10
- Versions
- 11.4.0+dfsg2+~cs35.7.26-18
- 11.4.0+dfsg2+~cs35.7.26-19
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-webfont Ubuntu:26.04:LTS
- Versions
- 11.4.0+dfsg2+~cs35.7.26-13ubuntu2
- 11.4.0+dfsg2+~cs35.7.26-14
- 11.4.0+dfsg2+~cs35.7.26-15
- 11.4.0+dfsg2+~cs35.7.26-16build1
- 11.4.0+dfsg2+~cs35.7.26-18
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-fj3w-jwp8-x2g3
- https://github.com/NaturalIntelligence/fast-xml-parser/pull/791
- https://github.com/NaturalIntelligence/fast-xml-parser/commit/c13a961910f14986295dd28484eee830fa1a0e8a
- https://nvd.nist.gov/vuln/detail/CVE-2026-27942