CVE-2026-92987 Details
Description
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.
A denial-of-service vulnerability has been identified in roxmltree versions through 0.21.1. The issue arises from quadratic-time validation of attributes and namespaces during XML parsing, without any limits on the number of attributes. This allows attackers to create XML documents with tens of thousands of attributes on a single element, leading to excessive CPU consumption and prolonged parsing times. The vulnerability can cause significant disruption in applications that process untrusted XML, such as EPUB readers, SVG pipelines, and sitemap parsers.
Users are advised to limit the number of attributes per element when using roxmltree, as the library currently has no built-in cap on attribute count. This can be done by manually checking and restricting attribute numbers before parsing XML documents.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 17, 2026CISA-ADP
Assessed Sep 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/RazrFalcon/roxmltree | [email protected] | ProductSource CodeVendor |
| https://github.com/RazrFalcon/roxmltree/blob/v0.21.1/src/lib.rs#L751-L755 | [email protected] | Source CodeVendor |
| https://github.com/RazrFalcon/roxmltree/blob/v0.21.1/src/parse.rs#L1014-L1020 | [email protected] | Source CodeVendor |
| https://github.com/RazrFalcon/roxmltree/issues/153 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/roxmltree-through-0.21.1-denial-of-service-via-quadratic-parsing | [email protected] | AdvisoryVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-407 | Inefficient Algorithmic Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| roxmltree | <= 0.21.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 17, 2026 | CVE Modified | CISA-ADP |
| Sep 17, 2026 | New CVE Received | [email protected] |
Volerion