Skip to content
Noroxi
CVE-2026-6879· NVD / CVE Program· CNA PSF

Quadratic Behavior in xml.etree.ElementPath Index Predicates

`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.

LowCVSS 2.0 · v4.0—No exploit Fix available
Published
Jul 28, 2026
Updated
Aug 13, 2026
EPSS
0.6% · 46th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

8

Monitor

Low priority for now.

CVSS
8 / 40 · 2.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.6%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · PSF
2.0
NVD has not scored this yet; the score shown is the CNA’s.

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

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

—

Versions reported by the vendor

Affected version ranges reported by the assigning authority (PSF). Independent of NVD's CPE analysis and usually ahead of it.

  • Python Software Foundation CPython

    • before 3.10.21affected · python
    • 3.11.0 and later · before 3.11.16affected · python
    • 3.12.0 and later · before 3.12.14affected · python
    • 3.13.0 and later · before 3.13.15affected · python
    • 3.14.0 and later · before 3.14.7affected · python
    • 3.15.0a1 and later · before 3.15.0rc1affected · python

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.24python3before 3.14.7-r03.14.7-r0
Debian:12pypy3all versions—
Debian:12python3.11all versions—
Debian:13python3.13before 3.13.5-2+deb13u53.13.5-2+deb13u5
Debian:14pypy3before 8.0.0+dfsg-18.0.0+dfsg-1
Debian:14python3.13before 3.13.15-13.13.15-1
Debian:14python3.14before 3.14.7-13.14.7-1
openSUSE:Tumbleweedpython313before 3.13.15-1.13.13.15-1.1
openSUSE:Tumbleweedpython315before 3.15.0~rc2-1.13.15.0~rc2-1.1
Red Hat:hummingbird:1python-unversioned-commandbefore 0:3.14.6-2.2.hum10:3.14.6-2.2.hum1
Red Hat:hummingbird:1python-unversioned-commandbefore 0:3.14.7-1.hum10:3.14.7-1.hum1
Red Hat:hummingbird:1python3before 0:3.14.6-2.2.hum10:3.14.6-2.2.hum1
Red Hat:hummingbird:1python3before 0:3.14.7-1.hum10:3.14.7-1.hum1
Red Hat:hummingbird:1python3.10before 0:3.10.20-3.2.hum10:3.10.20-3.2.hum1
Red Hat:hummingbird:1python3.11before 0:3.11.15-5.5.hum10:3.11.15-5.5.hum1
Red Hat:hummingbird:1python3.12before 0:3.12.13-3.8.hum10:3.12.13-3.8.hum1
Red Hat:hummingbird:1python3.13before 0:3.13.14-1.7.hum10:3.13.14-1.7.hum1
Red Hat:hummingbird:1python3.13before 0:3.13.15-1.hum10:3.13.15-1.hum1
Red Hat:hummingbird:1python3.14before 0:3.14.7-1.hum10:3.14.7-1.hum1
Red Hat:hummingbird:1python3.14before 0:3.14.6-2.2.hum10:3.14.6-2.2.hum1

Other highest-scoring records for the same primary product.

  • CVE-2025-4517Arbitrary writes via tarfile realpath overflow
    37Monitor
  • CVE-2026-19445Use-after-free of a server-side SSLContext when sni_callback switches contexts
    36Monitor
  • CVE-2026-6100Use-after-free in lzma.LZMADecompressor, bz2.BZ2Decompressor, and gzip.GzipFile after re-use under memory pressure
    36Monitor
  • CVE-2026-3298Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes
    35Monitor
  • CVE-2024-12254Unbounded memory buffering in SelectorSocketTransport.writelines()
    35Monitor
  • CVE-2024-8088Infinite loop when iterating over zip archive entry names from zipfile.Path
    34Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Python Software Foundation CPython3.10.21Vendor (CNA)
Python Software Foundation CPython3.11.16Vendor (CNA)
Python Software Foundation CPython3.12.14Vendor (CNA)
Python Software Foundation CPython3.13.15Vendor (CNA)
Python Software Foundation CPython3.14.7Vendor (CNA)
Python Software Foundation CPython3.15.0rc1Vendor (CNA)
azl3 python3 3.12.9-13 on Azure Linux 3.03.12.9-14 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 python3 3.12.9-14 on Azure Linux 3.03.12.9-14 · CBL-Mariner ReleasesMicrosoft (MSRC)
alpine:python33.14.7-r0 · Alpine:v3.24Package registry (OSV)
debian:pypy38.0.0+dfsg-1 · Debian:14Package registry (OSV)
debian:python3.133.13.5-2+deb13u5 · Debian:13Package registry (OSV)
debian:python3.143.14.7-1 · Debian:14Package registry (OSV)
opensuse:python3133.13.15-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3153.15.0~rc2-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:python-unversioned-command0:3.14.6-2.2.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:python30:3.14.6-2.2.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:python3.100:3.10.20-3.2.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:python3.110:3.11.15-5.5.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:python3.120:3.12.13-3.8.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:python3.130:3.13.14-1.7.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:python3.140:3.14.6-2.2.hum1 · Red Hat:hummingbird:1Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2026-327655 days apartPotential DoS via quadratic complexity in unicodedata.normalize()
    25Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • Administrator privileges are required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
Integrity
Availability
Attack vector
Network
Attack complexity
High
Privileges required
High
User interaction
P
Scope
X

CVSS 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

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records