Skip to content
Heist/ feed
Back to feed
High

fast-xml-parser has RangeError DoS Numeric Entities Bug

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-25128
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 02:15 UTC · Revision 1

Source evidence

fast-xml-parser has RangeError DoS Numeric Entities Bug

core-osv · Original source

Published 30 Jan 2026, 15:14 UTC

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.

osv:CVE-2026-25128
Complete source record
{
  "id": "cf12b6fc0c8efdb4ac8fc7766b12b099990a0cfbda78c00bbb302e87355d86a6",
  "url": "https://osv.dev/vulnerability/CVE-2026-25128",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "fast-xml-parser has RangeError DoS Numeric Entities Bug",
    "summary": "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.",
    "evidence": "osv:CVE-2026-25128",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-25128",
      "aliases": [
        "CVE-2026-25128",
        "GHSA-37qj-frw5-hhjh"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/naturalintelligence/fast-xml-parser",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1d3923919e2a9f19a2db2f2918547693286130f3"
                },
                {
                  "fixed": "753e770f69d0f30c95b0287f7b8c57e4a93bbc12"
                },
                {
                  "fixed": "4e387f61c4a5cef792f6a2f42467013290bf95dc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:naturalintelligence:fast-xml-parser:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.0.9"
                      },
                      {
                        "fixed": "5.3.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "4e387f61c4a5cef792f6a2f42467013290bf95dc"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "753e770f69d0f30c95b0287f7b8c57e4a93bbc12"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v5.3.4"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.3.3",
            "v5.3.2",
            "v5.3.1",
            "v5.3.0",
            "v5.2.5",
            "v5.2.3",
            "v5.2.2",
            "v5.2.1",
            "v5.2.0",
            "v5.1.0",
            "v5.0.9"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25128.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.296724469Z",
      "provider": "osv",
      "references": [
        "https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.3.4",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25128.json",
        "https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-37qj-frw5-hhjh",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-25128",
        "https://github.com/NaturalIntelligence/fast-xml-parser/commit/4e387f61c4a5cef792f6a2f42467013290bf95dc"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20",
          "CWE-248"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25128.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-25128",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491827,
  "published_at": "2026-01-30T15:14:58.244+00:00"
}