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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| RazrFalcon | roxmltree | ≤ 0.21.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-uv | 0.12.17-1.1 | openSUSE-SU-2026:11841-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | openvmm | No fix yet | — |
Advisories 1
- openSUSE-SU-2026:11841-1 python313-uv-0.12.17-1.1 on GA media SUSE / openSUSE Security Updates · Sep 22, 2026
References
- GitHub Issue #153 issue-tracking
- https://github.com/RazrFalcon/roxmltree product
- https://github.com/RazrFalcon/roxmltree/blob/v0.21.1/src/parse.rs#L1014-L1020 technical-description
- https://github.com/RazrFalcon/roxmltree/blob/v0.21.1/src/lib.rs#L751-L755 technical-description
- VulnCheck Advisory: roxmltree through 0.21.1 Denial of Service via Quadratic Parsing third-party-advisory