CVE-2026-25128
HIGH 7.5CVSS 3.1fast-xml-parser has RangeError DoS Numeric Entities Bug
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. In versions 5.0.9 through 5.3.3, a RangeError vulnerability exists in the numeric entity processing of fast-xml-parser when parsing XML with out-of-range entity code points (e.g., � or �). This causes the parser to throw an uncaught exception, crashing any application that processes untrusted XML input. Version 5.3.4 fixes the issue.
- Published
- 30 Jan 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-20CWE-248
- Also known as
- GHSA-37qj-frw5-hhjh
- Sources
- NVDJSONOSV GHSA-37qj-frw5-hhjhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | naturalintelligence | fast-xml-parsercpe:2.3:a:naturalintelligence:fast-xml-parser:*:*:*:*:*:*:*:* |
>= 5.0.9, < 5.3.4 | 5.3.4 |
| OSV | npm | fast-xml-parser | >= 5.0.9, < 5.3.4 | 5.3.4 |
References
- https://github.com/NaturalIntelligence/fast-xml-parser/commit/4e387f61c4a5cef792f6a2f42467013290bf95dc · Patch, WEB
- https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.3.4 · Release Notes, WEB
- https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-37qj-frw5-hhjh · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-25128 · ADVISORY
- https://github.com/NaturalIntelligence/fast-xml-parser · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 30 Jan 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 30 Jan 2026)