CVE-2026-6879
published low CVSS 4.0 · 2.0Quadratic Behavior in xml.etree.ElementPath Index Predicates
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Python Software Foundation | — | CPython0 to < 3.10.21 · 3.11.0 to < 3.11.16 · 3.12.0 to < 3.12.14 · 3.13.0 to < 3.13.15 · 3.14.0 to < 3.14.7 · 3.15.0a1 to < 3.15.0rc1 · Other versions: unaffected | Affected | Not stated | PSF |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2122 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2123 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2124 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | python3 | Fixed | 3.14.7-r0 | Package fix record |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0x86_64 | Advisory build | 2.7.18-33.88.1 | SUSE-SU-2026:4633-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2125 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | v3.24 | python3 | Fixed | 3.14.7-r0 | Package fix record |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0-32bitx86_64 | Advisory build | 2.7.18-33.88.1 | SUSE-SU-2026:4633-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0aarch64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0ppc64le | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0s390x | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0x86_64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0-32bits390x | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0-32bitx86_64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0aarch64 | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0ppc64le | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0s390x | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0x86_64 | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0-32bits390x | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0-32bitx86_64 | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | pythonx86_64 | Advisory build | 2.7.18-33.88.1 | SUSE-SU-2026:4633-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-32bitx86_64 | Advisory build | 2.7.18-33.88.1 | SUSE-SU-2026:4633-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-basex86_64 | Advisory build | 2.7.18-33.88.1 | SUSE-SU-2026:4633-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-base-32bitx86_64 | Advisory build | 2.7.18-33.88.1 | SUSE-SU-2026:4633-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-cursesx86_64 | Advisory build | 2.7.18-33.88.1 | SUSE-SU-2026:4633-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-demox86_64 | Advisory build | 2.7.18-33.88.1 | SUSE-SU-2026:4633-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-develx86_64 | Advisory build | 2.7.18-33.88.1 | SUSE-SU-2026:4633-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-docnoarch | Advisory build | 2.7.18-33.88.1 | SUSE-SU-2026:4633-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-doc-pdfnoarch | Advisory build | 2.7.18-33.88.1 | SUSE-SU-2026:4633-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-gdbmx86_64 | Advisory build | 2.7.18-33.88.1 | SUSE-SU-2026:4633-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-idlex86_64 | Advisory build | 2.7.18-33.88.1 | SUSE-SU-2026:4633-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-tkx86_64 | Advisory build | 2.7.18-33.88.1 | SUSE-SU-2026:4633-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xmlx86_64 | Advisory build | 2.7.18-33.88.1 | SUSE-SU-2026:4633-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3aarch64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3ppc64le | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3s390x | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3x86_64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-baseaarch64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-baseppc64le | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-bases390x | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-basex86_64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesaarch64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesppc64le | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursess390x | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesx86_64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develaarch64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develppc64le | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-devels390x | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develx86_64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkaarch64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkppc64le | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tks390x | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkx86_64 | Advisory build | 3.4.10-25.199.1 | SUSE-SU-2026:4744-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36aarch64 | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36ppc64le | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36s390x | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36x86_64 | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-baseaarch64 | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-baseppc64le | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-bases390x | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-basex86_64 | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-develaarch64 | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-develppc64le | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-devels390x | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-develx86_64 | Advisory build | 3.6.15-125.1 | SUSE-SU-2026:4743-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_6m1_0aarch64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_6m1_0ppc64le | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_6m1_0s390x | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_6m1_0x86_64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3aarch64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3ppc64le | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3s390x | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3x86_64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-baseaarch64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-baseppc64le | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-bases390x | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-basex86_64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-cursesaarch64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-cursesppc64le | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-cursess390x | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-cursesx86_64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-dbmaarch64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-dbmppc64le | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-dbms390x | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-dbmx86_64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-develaarch64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-develppc64le | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-devels390x | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-develx86_64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-idleaarch64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-idleppc64le | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-idles390x | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-idlex86_64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-tkaarch64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-tkppc64le | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-tks390x | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-tkx86_64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-toolsaarch64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-toolsppc64le | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-toolss390x | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-toolsx86_64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP5 | libpython3_6m1_0aarch64 | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP5 | libpython3_6m1_0ppc64le | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
| SUSE / openSUSE | SLE-15-SP5 | libpython3_6m1_0s390x | Advisory build | 3.6.15-150300.10.129.1 | SUSE-SU-2026:4754-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
`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 advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.0 / 10
- Severity
- low
- Provider
- PSF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Python Software Foundation | CPython | 0 to < 3.10.21 (affected · python)3.11.0 to < 3.11.16 (affected · python)3.12.0 to < 3.12.14 (affected · python)3.13.0 to < 3.13.15 (affected · python)3.14.0 to < 3.14.7 (affected · python)3.15.0a1 to < 3.15.0rc1 (affected · python)Default: unaffected | PSF · cna |
Weaknesses
1- CWE-407 CWE-407 Inefficient Algorithmic Complexity
References
10- https://github.com/python/cpython/commit/02c08e6b747ac43d0d866a4ffa916bedf3423f81
- https://github.com/python/cpython/commit/037965c00a427cba5c05447efadc67c51a492e85
- https://github.com/python/cpython/commit/0583f24ae678993e3f7939f51ad5bcae5ad9dc70
- https://github.com/python/cpython/commit/2ffab083782968a4d732738f4f1dff6bbd69d2b0
- https://github.com/python/cpython/commit/390337b8ba1658833fdef379e1739c9f9533a8db
- https://github.com/python/cpython/commit/96510a3758f4a075f43223afdee3b6ee1a7a7f02
- https://github.com/python/cpython/commit/cb409342a19f25656f62e679f8bac265fe1442c3
- https://github.com/python/cpython/issues/152674
- https://github.com/python/cpython/pull/152676
- https://mail.python.org/archives/list/[email protected]/thread/7YMZ6DDZVR26TJJBVO3RDNBAVGHNYAKR/
Provider assertions
2PSF · cna
Quadratic Behavior in xml.etree.ElementPath Index Predicates
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9f90f4b60840c79e43cd4451b586e741105f49307d165558214a669a9d3bbf6b
- Ingested
- 23 Sep 2026, 09:28:47 UTC
- Source record
- Official CVE record