`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.
CVSS
No CVSS.
References
Configurations
No configuration.
History
11 Aug 2026, 01:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
05 Aug 2026, 01:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
30 Jul 2026, 19:18
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
28 Jul 2026, 16:20
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-407 |
28 Jul 2026, 15:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-28 15:17
Updated : 2026-08-11 01:17
NVD link : CVE-2026-6879
Mitre link : CVE-2026-6879
CVE.ORG link : CVE-2026-6879
JSON object : View
Products Affected
No product.
CWE
CWE-407
Inefficient Algorithmic Complexity
