Skip to content
Heist/ feed
Back to feed
High

roxmltree through 0.21.1 Denial of Service via Quadratic Parsing

Type: advisorySources: OSV

roxmltree through 0.21.1 performs quadratic-time attribute and namespace validation during XML parsing without limits on attribute count. Attackers can craft XML documents with tens of thousands of attributes on a single element to consume excessive CPU time and cause denial of service.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-92987
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:24 UTC · Revision 1

Source evidence

roxmltree through 0.21.1 Denial of Service via Quadratic Parsing

core-osv · Original source

Published 17 Sept 2026, 14:22 UTC

roxmltree through 0.21.1 performs quadratic-time attribute and namespace validation during XML parsing without limits on attribute count. Attackers can craft XML documents with tens of thousands of attributes on a single element to consume excessive CPU time and cause denial of service.

osv:CVE-2026-92987
Complete source record
{
  "id": "61a86c99432b2b0728f8028c4b41428500312eadfbaf6c95dd4972fda065a991",
  "url": "https://osv.dev/vulnerability/CVE-2026-92987",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "roxmltree through 0.21.1 Denial of Service via Quadratic Parsing",
    "summary": "roxmltree through 0.21.1 performs quadratic-time attribute and namespace validation during XML parsing without limits on attribute count. Attackers can craft XML documents with tens of thousands of attributes on a single element to consume excessive CPU time and cause denial of service.",
    "evidence": "osv:CVE-2026-92987",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-92987",
      "aliases": [
        "CVE-2026-92987"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/razrfalcon/roxmltree",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "67644e16f43c34cadc9e163163dd1aaf7ebe205e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.21.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.21.1"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.21.1",
            "v0.21.0",
            "v0.20.0",
            "v0.19.0",
            "v0.18.1",
            "v0.18.0",
            "v0.17.0",
            "v0.16.0",
            "v0.15.1",
            "v0.15.0",
            "v0.14.1",
            "v0.14.0",
            "v0.13.1",
            "v0.13.0",
            "v0.12.0",
            "v0.11.1",
            "v0.11.0",
            "v0.10.1",
            "v0.10.0",
            "v0.9.1",
            "v0.9.0",
            "v0.8.0",
            "v0.7.3",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0",
            "v0.6.1",
            "v0.6.0",
            "v0.5.0",
            "v0.4.1",
            "v0.4.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92987.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.301573834Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92987.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-92987",
        "https://www.vulncheck.com/advisories/roxmltree-through-0.21.1-denial-of-service-via-quadratic-parsing",
        "https://github.com/RazrFalcon/roxmltree/issues/153",
        "https://github.com/RazrFalcon/roxmltree",
        "https://github.com/RazrFalcon/roxmltree/blob/v0.21.1/src/lib.rs#L751-L755",
        "https://github.com/RazrFalcon/roxmltree/blob/v0.21.1/src/parse.rs#L1014-L1020"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-407"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92987.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-92987",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 509060,
  "published_at": "2026-09-17T14:22:10.913+00:00"
}