CVE-2026-6879

Quadratic Behavior in xml.etree.ElementPath Index Predicates

CVE-2026-6879 is fixed in 54 products on 3 platforms, first by DEBIAN-CVE-2026-6879, released July 28, 2026. 10 other affected products have no fix yet. It is not reported as exploited. Patch Radar priority: Routine.

RoutineFixed on 3 platforms
CVSS
2.0
low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0036
29th percentile

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

Where it's fixed

ProductFixed inFixReleased
Windows apps
Python 3.13 3.13.15 Python 3.13 3.13.15 Aug 5, 2026
Python 3.14 3.14.7 Python 3.14 3.14.7 Aug 5, 2026
Linux
pypy3 · Debian 14 8.0.0+dfsg-1 DEBIAN-CVE-2026-6879 Jul 28, 2026
python · sles 15.7 2.7.18-150000.133.1 SUSE-SU-2026:4411-1 Oct 1, 2026
python-base · sles 15.7 2.7.18-150000.133.1 SUSE-SU-2026:4411-1 Oct 1, 2026
python3 · sles 15.6 3.6.15-150300.10.129.1 SUSE-SU-2026:4754-1 Nov 7, 2026
python3 · sles 15.7 3.6.15-150300.10.129.1 SUSE-SU-2026:4754-1 Nov 7, 2026
python3-core · sles 15.6 3.6.15-150300.10.129.1 SUSE-SU-2026:4754-1 Nov 7, 2026
python3-core · sles 15.7 3.6.15-150300.10.129.1 SUSE-SU-2026:4754-1 Nov 7, 2026
python3.11 · amzn 2023 3.11.16-1.amzn2023.0.1 ALAS2023-2026-2125 Aug 31, 2026
python3.11-debug · amzn 2023 3.11.16-1.amzn2023.0.1 ALAS2023-2026-2125 Aug 31, 2026
python3.11-debuginfo · amzn 2023 3.11.16-1.amzn2023.0.1 ALAS2023-2026-2125 Aug 31, 2026
python3.11-debugsource · amzn 2023 3.11.16-1.amzn2023.0.1 ALAS2023-2026-2125 Aug 31, 2026
python3.11-devel · amzn 2023 3.11.16-1.amzn2023.0.1 ALAS2023-2026-2125 Aug 31, 2026
python3.11-idle · amzn 2023 3.11.16-1.amzn2023.0.1 ALAS2023-2026-2125 Aug 31, 2026
python3.11-libs · amzn 2023 3.11.16-1.amzn2023.0.1 ALAS2023-2026-2125 Aug 31, 2026
python3.11-test · amzn 2023 3.11.16-1.amzn2023.0.1 ALAS2023-2026-2125 Aug 31, 2026
python3.11-tkinter · amzn 2023 3.11.16-1.amzn2023.0.1 ALAS2023-2026-2125 Aug 31, 2026
python3.12 · amzn 2023 3.12.14-2.amzn2023.0.1 ALAS2023-2026-2124 Aug 31, 2026
python3.12-debug · amzn 2023 3.12.14-2.amzn2023.0.1 ALAS2023-2026-2124 Aug 31, 2026
python3.12-debuginfo · amzn 2023 3.12.14-2.amzn2023.0.1 ALAS2023-2026-2124 Aug 31, 2026
python3.12-debugsource · amzn 2023 3.12.14-2.amzn2023.0.1 ALAS2023-2026-2124 Aug 31, 2026
python3.12-devel · amzn 2023 3.12.14-2.amzn2023.0.1 ALAS2023-2026-2124 Aug 31, 2026
python3.12-idle · amzn 2023 3.12.14-2.amzn2023.0.1 ALAS2023-2026-2124 Aug 31, 2026
python3.12-libs · amzn 2023 3.12.14-2.amzn2023.0.1 ALAS2023-2026-2124 Aug 31, 2026
python3.12-test · amzn 2023 3.12.14-2.amzn2023.0.1 ALAS2023-2026-2124 Aug 31, 2026
python3.12-tkinter · amzn 2023 3.12.14-2.amzn2023.0.1 ALAS2023-2026-2124 Aug 31, 2026
python3.13 · Debian 13.5 (trixie) 3.13.5-2+deb13u5 DEBIAN-CVE-2026-6879 Jul 28, 2026
python3.13 · amzn 2023 3.13.15-1.amzn2023.0.1 ALAS2023-2026-2123 Aug 31, 2026
python3.13-debug · amzn 2023 3.13.15-1.amzn2023.0.1 ALAS2023-2026-2123 Aug 31, 2026
python3.13-debuginfo · amzn 2023 3.13.15-1.amzn2023.0.1 ALAS2023-2026-2123 Aug 31, 2026
python3.13-debugsource · amzn 2023 3.13.15-1.amzn2023.0.1 ALAS2023-2026-2123 Aug 31, 2026
python3.13-devel · amzn 2023 3.13.15-1.amzn2023.0.1 ALAS2023-2026-2123 Aug 31, 2026
python3.13-freethreading · amzn 2023 3.13.15-1.amzn2023.0.1 ALAS2023-2026-2123 Aug 31, 2026
python3.13-freethreading-debug · amzn 2023 3.13.15-1.amzn2023.0.1 ALAS2023-2026-2123 Aug 31, 2026
python3.13-idle · amzn 2023 3.13.15-1.amzn2023.0.1 ALAS2023-2026-2123 Aug 31, 2026
python3.13-libs · amzn 2023 3.13.15-1.amzn2023.0.1 ALAS2023-2026-2123 Aug 31, 2026
python3.13-test · amzn 2023 3.13.15-1.amzn2023.0.1 ALAS2023-2026-2123 Aug 31, 2026
python3.13-tkinter · amzn 2023 3.13.15-1.amzn2023.0.1 ALAS2023-2026-2123 Aug 31, 2026
python3.14 · Debian 14 3.14.7-1 DEBIAN-CVE-2026-6879 Jul 28, 2026
python3.14 · amzn 2023 3.14.7-1.amzn2023.0.1 ALAS2023-2026-2122 Aug 31, 2026
python3.14-debug · amzn 2023 3.14.7-1.amzn2023.0.1 ALAS2023-2026-2122 Aug 31, 2026
python3.14-debuginfo · amzn 2023 3.14.7-1.amzn2023.0.1 ALAS2023-2026-2122 Aug 31, 2026
python3.14-debugsource · amzn 2023 3.14.7-1.amzn2023.0.1 ALAS2023-2026-2122 Aug 31, 2026
python3.14-devel · amzn 2023 3.14.7-1.amzn2023.0.1 ALAS2023-2026-2122 Aug 31, 2026
python3.14-freethreading · amzn 2023 3.14.7-1.amzn2023.0.1 ALAS2023-2026-2122 Aug 31, 2026
python3.14-freethreading-debug · amzn 2023 3.14.7-1.amzn2023.0.1 ALAS2023-2026-2122 Aug 31, 2026
python3.14-freethreading-devel · amzn 2023 3.14.7-1.amzn2023.0.1 ALAS2023-2026-2122 Aug 31, 2026
python3.14-freethreading-idle · amzn 2023 3.14.7-1.amzn2023.0.1 ALAS2023-2026-2122 Aug 31, 2026
python3.14-freethreading-libs · amzn 2023 3.14.7-1.amzn2023.0.1 ALAS2023-2026-2122 Aug 31, 2026
python3.14-freethreading-test · amzn 2023 3.14.7-1.amzn2023.0.1 ALAS2023-2026-2122 Aug 31, 2026
python3.14-freethreading-tkinter · amzn 2023 3.14.7-1.amzn2023.0.1 ALAS2023-2026-2122 Aug 31, 2026
python3.14-idle · amzn 2023 3.14.7-1.amzn2023.0.1 ALAS2023-2026-2122 Aug 31, 2026
python3.14-libs · amzn 2023 3.14.7-1.amzn2023.0.1 ALAS2023-2026-2122 Aug 31, 2026
python3.14-test · amzn 2023 3.14.7-1.amzn2023.0.1 ALAS2023-2026-2122 Aug 31, 2026
python3.14-tkinter · amzn 2023 3.14.7-1.amzn2023.0.1 ALAS2023-2026-2122 Aug 31, 2026
python313 · sles 15.7 3.13.15-150700.4.56.1 SUSE-SU-2026:4401-1 Sep 30, 2026
python313-core · sles 15.7 3.13.15-150700.4.56.1 SUSE-SU-2026:4401-1 Sep 30, 2026
No fix yet
Python 2 (Windows apps) No fix yet no-fix n/a
Python 3.10 (Windows apps) No fix yet no-fix n/a
Python 3.11 (Windows apps) No fix yet no-fix n/a
Python 3.12 (Windows apps) No fix yet no-fix n/a
Python 3.5 (Windows apps) No fix yet no-fix n/a
Python 3.6 (Windows apps) No fix yet no-fix n/a
Python 3.7 (Windows apps) No fix yet no-fix n/a
Python 3.8 (Windows apps) No fix yet no-fix n/a
Python 3.9 (Windows apps) No fix yet no-fix n/a
Python3 (macOS) No fix yet no-fix n/a

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.