ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-6879

No fix available CVE-2026-6879

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:14.04:LTSpython3.4
All versions, no fix listed
Ubuntu:Pro:14.04:LTSpython3.5
All versions, no fix listed
Ubuntu:Pro:16.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:16.04:LTSpython3.5
All versions, no fix listed
Ubuntu:Pro:18.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:18.04:LTSpython3.6
All versions, no fix listed
Ubuntu:Pro:18.04:LTSpython3.7
All versions, no fix listed
Ubuntu:Pro:18.04:LTSpython3.8
All versions, no fix listed
Ubuntu:Pro:20.04:LTSpython3.8
All versions, no fix listed
Ubuntu:20.04:LTSpypy3
All versions, no fix listed
Ubuntu:Pro:20.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:20.04:LTSpython3.9
All versions, no fix listed
Ubuntu:22.04:LTSpypy3
All versions, no fix listed
Ubuntu:22.04:LTSpython3.10
All versions, no fix listed
Ubuntu:Pro:22.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:22.04:LTSpython3.11
All versions, no fix listed
Ubuntu:24.04:LTSpypy3
All versions, no fix listed
Ubuntu:24.04:LTSpython3.12
All versions, no fix listed
Ubuntu:26.10pypy3
All versions, no fix listed
Ubuntu:26.10python3.14
All versions, no fix listed
Ubuntu:26.04:LTSpypy3
All versions, no fix listed
Ubuntu:26.04:LTSpython3.14
All versions, no fix listed

References