ADVISORIES

Vulnerability

CVE-2026-6879

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

42 advisories report this vulnerability, across 12 ecosystems.

Advisories

  • ALAS2023-2026-2122

    Amazon Linux 2023 - ALAS2023-2026-2122: Low priority package update for python3.14

    Low CVE-2026-18503CVE-2026-6879 Amazon Linux Updated 31 August 2026
  • ALAS2023-2026-2123

    Amazon Linux 2023 - ALAS2023-2026-2123: Low priority package update for python3.13

    Low CVE-2026-18503CVE-2026-6879 Amazon Linux Updated 31 August 2026
  • ALAS2023-2026-2124

    Amazon Linux 2023 - ALAS2023-2026-2124: Low priority package update for python3.12

    Low CVE-2026-18503CVE-2026-6879 Amazon Linux Updated 31 August 2026
  • ALAS2023-2026-2125

    Amazon Linux 2023 - ALAS2023-2026-2125: Low priority package update for python3.11

    Low CVE-2026-18503CVE-2026-6879 Amazon Linux Updated 31 August 2026
  • ALPINE-CVE-2026-6879

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

    CVE-2026-6879 Alpine Updated 1 October 2026
  • ALPINE-EDGE-CVE-2026-6879
    CVE-2026-6879 Alpine Updated 18 November 2026
  • AZL-94157

    CVE-2026-6879 affecting package docbook5-style-xsl 1.79.2-11

    CVE-2026-6879 Azure Linux Updated 23 November 2026
  • AZL-94299

    CVE-2026-6879 affecting package python3 for versions less than 3.12.9-14

    CVE-2026-6879 Azure Linux Updated 8 September 2026
  • CGA-64mm-9x86-22m5
    CVE-2026-6879 ChainguardWolfi Updated 5 November 2026
  • CGA-7g6r-phc4-fvqh
    CVE-2026-6879 ChainguardWolfi Updated 5 November 2026
  • CGA-9jgp-r77x-m572
    CVE-2026-6879 ChainguardWolfi Updated 5 November 2026
  • CGA-9mh7-8r38-m8f8
    CVE-2026-6879 ChainguardWolfi Updated 5 November 2026
  • CGA-cgh3-r65w-2fvw
    CVE-2026-6879 ChainguardWolfi Updated 5 November 2026
  • CGA-qcv8-4xf6-7j4v
    CVE-2026-6879 ChainguardWolfi Updated 5 November 2026
  • CGA-rmhf-8xg5-hx99
    CVE-2026-6879 ChainguardWolfi Updated 5 November 2026
  • CGA-rpwc-gfvx-7h59
    CVE-2026-6879 ChainguardWolfi Updated 5 November 2026
  • CGA-vqx2-w8wp-m64v
    CVE-2026-6879 ChainguardWolfi Updated 5 November 2026
  • CGA-xmgx-m5w7-7qfr
    CVE-2026-6879 ChainguardWolfi Updated 5 November 2026
  • CNA-CVE-2026-6879

    Quadratic Behavior in xml.etree.ElementPath Index Predicates

    CVE-2026-6879 Python Updated 13 August 2026
  • DEBIAN-CVE-2026-6879

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

    CVE-2026-6879 Debian Updated 1 November 2026
  • OESA-2026-3252

    python3 security update

    Low CVE-2026-6879 openEuler Updated 7 August 2026
  • OESA-2026-3253

    python3 security update

    Low CVE-2026-6879 openEuler Updated 7 August 2026
  • OESA-2026-3254

    python3 security update

    Medium CVE-2026-6879CVE-2026-7210 openEuler Updated 7 August 2026
  • OESA-2026-3396

    python3 security update

    Low CVE-2026-6879 openEuler Updated 16 August 2026
  • OESA-2026-3433

    python3 security update

    Low CVE-2026-6879 openEuler Updated 20 August 2026
  • RHSA-2026:48238

    Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

    CVE-2026-6879 Red Hat Updated 6 October 2026
  • RHSA-2026:48246

    Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

    CVE-2026-6879 Red Hat Updated 6 October 2026
  • RHSA-2026:48253

    Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

    CVE-2026-6879 Red Hat Updated 6 October 2026
  • RHSA-2026:48278

    Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

    CVE-2026-6879 Red Hat Updated 6 October 2026
  • RHSA-2026:48279

    Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

    CVE-2026-6879 Red Hat Updated 6 October 2026
  • RHSA-2026:54534

    Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

    CVE-2026-11940CVE-2026-11972CVE-2026-15308CVE-2026-18503 Red Hat Updated 13 November 2026
  • RHSA-2026:54554

    Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

    CVE-2026-11940CVE-2026-11972CVE-2026-15308CVE-2026-18503 Red Hat Updated 13 November 2026
  • SUSE-SU-2026:4401-1

    Security update for python313

    CVE-2026-17084CVE-2026-18503CVE-2026-6879CVE-2026-9669 SUSE Updated 1 October 2026
  • SUSE-SU-2026:4411-1

    Security update for python

    CVE-2026-15806CVE-2026-17084CVE-2026-18503CVE-2026-19672 SUSE Updated 2 October 2026
  • SUSE-SU-2026:4633-1

    Security update for python

    CVE-2026-15806CVE-2026-17084CVE-2026-18503CVE-2026-19672 SUSE Updated 13 October 2026
  • SUSE-SU-2026:4743-1

    Security update for python36

    CVE-2026-13346CVE-2026-15310CVE-2026-15806CVE-2026-1703 SUSE Updated 20 October 2026
  • SUSE-SU-2026:4744-1

    Security update for python3, python3-base, python3-doc

    CVE-2025-4435CVE-2026-15310CVE-2026-15806CVE-2026-17084 SUSE Updated 20 October 2026
  • SUSE-SU-2026:4754-1

    Security update for python3

    CVE-2026-0864CVE-2026-11940CVE-2026-11972CVE-2026-13346 SUSE Updated 21 October 2026
  • SUSEVEX-CVE-2026-6879

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

    Low CVE-2026-6879 SUSEopenSUSE Updated 19 November 2026
  • UBUNTU-CVE-2026-6879

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

    CVE-2026-6879 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2026:11748-1

    python315-3.15.0~rc2-1.1 on GA media

    CVE-2026-15310CVE-2026-15806CVE-2026-17084CVE-2026-18503 openSUSE Updated 11 September 2026
  • openSUSE-SU-2026:11817-1

    python313-3.13.15-1.1 on GA media

    CVE-2026-17084CVE-2026-18503CVE-2026-19672CVE-2026-6879 openSUSE Updated 19 September 2026

References