CVE-2026-6879
Published:July 28, 2026
Updated:August 06, 2026
"Element.findall()" and fully-consumed "Element.iterfind()" exhibit "O(n^2)" time complexity when using XPath index predicates (e.g. "[1]", "[last()]", "[last()-N]") on XML documents with many same-tag siblings. "Element.find()" is only affected when the first match is near the end of the sibling list, such as with "[last()]" or "[last()-N]"; ".//item[1]" short-circuits after the first match.
Related Resources (11)
Do you need more information?
Contact UsCVSS v4
Base Score:
2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
HIGH
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
2
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
HIGH
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Inefficient Algorithmic Complexity
EPSS
Base Score:
0.30