2

CVE-2026-6879: Quadratic Behavior in xml.etree.ElementPath Index Predicates

Awaiting analysis
AliasesALPINE-CVE-2026-6879RHSA-2026:48238RHSA-2026:48246
Published 28-07-2026Last modified 13-08-2026

Vulnerability summary

CVE-2026-6879 is a low (CVSS 2.0) Inefficient Algorithmic Complexity vulnerability in python software foundation cpython. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 31.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
2.0/10
010
Low · v4.0 (CVE.org)
EPSS score
0.36%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 12 · Related 11

Timeline

  1. 28-07-2026
    PublishedVulnerability first disclosed.
  2. 13-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 8 sources · 2 versions

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

31%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.36% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat46 products
  • python-unversioned-command< 0:3.14.6-2.2.hum1
  • python3< 0:3.14.6-2.2.hum1
  • python3-debug< 0:3.14.6-2.2.hum1
  • python3-devel< 0:3.14.6-2.2.hum1
  • python3-idle< 0:3.14.6-2.2.hum1
Ubuntu12 products
  • pypy3All versions (No fix recorded)
  • python2.7All versions (No fix recorded)
  • python3.10All versions (No fix recorded)
  • python3.11All versions (No fix recorded)
  • python3.12All versions (No fix recorded)
Chainguard5 products
  • python-3.10< 3.10.21-r0
  • python-3.11< 3.11.16-r0
  • python-3.12< 3.12.14-r0
  • python-3.13< 3.13.15-r0
  • python-3.14< 3.14.7-r0
Wolfi5 products
  • python-3.10< 3.10.21-r0
  • python-3.11< 3.11.16-r0
  • python-3.12< 3.12.14-r0
  • python-3.13< 3.13.15-r0
  • python-3.14< 3.14.7-r0
Debian4 products
  • pypy3All versions (No fix recorded) | < 8.0.0+dfsg-1
  • python3.11All versions (No fix recorded)
  • python3.13< 3.13.15-1 | < 3.13.5-2+deb13u5
  • python3.14< 3.14.7-1
Alpine1 product
  • python3< 3.14.7-r0
Python software foundation1 product
  • cpython< 3.10.21 | ≥ 3.11.0, < 3.11.16 | ≥ 3.12.0, < 3.12.14 | ≥ 3.13.0, < 3.13.15 | ≥ 3.14.0, < 3.14.7 | ≥ 3.15.0a1, < 3.15.0rc1

7 vendors · 74 products

References

31 links
Show all 31 references