All reports
High

roxmltree: roxmltree: Denial of Service via Quadratic Parsing

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-92987

Probability of exploitation in the next 30 days: 0.63%

FIRST EPSS · 2026-11-24

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 flaw was found in roxmltree. This vulnerability allows a remote attacker to cause a denial of service (DoS) by crafting a malicious XML document with a large number of attributes on a single element. The roxmltree library performs quadratic-time validation of attributes and namespaces during XML parsing without imposing limits on the attribute count, leading to excessive CPU consumption.