2

CVE-2026-6879: python software foundation cpython Inefficient Algorithmic Complexity

CVSS: 2.0v4.0LowAwaiting 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.37% chance of exploitation in the next 30 days, higher than 29.3% of scored vulnerabilities.

Overall risk
8/100
0100
Minimal · default modelHow is this calculated?
CVSS score
2.0/10
010
Low · v4.0 (CVE.org)
EPSS score
0.37%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 9 · Related 8

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.37%

Chance of exploitation in the next 30 days

Percentile

29%

Versus all other CVEs

30-day change

0.00 pp

From 0.37% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.37%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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.5-2+deb13u5 | < 3.13.15-1
  • 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