`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 Details
- CVSS 4.0 Base Score: 2 (LOW)
- CVSS 4.0 Vector: (CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade python3 | Aug 17, 2026 | Jul 28, 2026 |
| Amazon_linux_2023 | — | Upgrade python3.14-freethreading-tkinterUpgrade python3.14-freethreading-libsUpgrade python3.13Upgrade python3.12-debugsourceUpgrade python3.11Upgrade python3.14-freethreading-testUpgrade python3.13-develUpgrade python3.12-develUpgrade python3.13-idleUpgrade python3.14Upgrade python3.13-debugsourceUpgrade python3.11-tkinterUpgrade python3.13-debugUpgrade python3.13-libsUpgrade python3.13-testUpgrade python3.13-freethreadingUpgrade python3.11-libsUpgrade python3.14-freethreading-idleUpgrade python3.11-testUpgrade python3.12-tkinterUpgrade python3.11-develUpgrade python3.14-debuginfoUpgrade python3.14-idleUpgrade python3.14-develUpgrade python3.13-freethreading-debugUpgrade python3.12-libsUpgrade python3.14-libsUpgrade python3.13-debuginfoUpgrade python3.14-freethreading-debugUpgrade python3.14-testUpgrade python3.13-tkinterUpgrade python3.12-debuginfoUpgrade python3.11-idleUpgrade python3.14-freethreading-develUpgrade python3.12Upgrade python3.11-debugsourceUpgrade python3.14-debugsourceUpgrade python3.12-idleUpgrade python3.12-testUpgrade python3.11-debuginfoUpgrade python3.12-debugUpgrade python3.11-debugUpgrade python3.14-freethreadingUpgrade python3.14-debugUpgrade python3.14-tkinter | Sep 1, 2026 | Jul 28, 2026 |
| Debian | — | Upgrade python3.13 | Sep 21, 2026 | Jul 28, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub