Release date:
2026-08-20 14:29:08 UTC
Description:
* SECURITY UPDATE: xml.etree.ElementTree's find(), findall() and iterfind()
had quadratic complexity when an XPath index predicate ([1], [last()],
[last()-N]) was evaluated against a document with many same-tag siblings.
The [index] selector called parent.findall(tag) once per candidate
element, and each such call is itself linear in the number of siblings,
allowing a CPU denial-of-service on untrusted XML or untrusted XPath
(CWE-407, algorithmic complexity).
- debian/patches/CVE-2026-6879.patch: backport of cpython 2ffab083
(gh-152674, Petr Viktorin) taken via the upstream 3.12 backport
96510a37. The [index] selector now caches the resolved element per
(parent, tag), so parent.findall() runs once per parent instead of once
per candidate. The code change is verbatim: the pre-fix select() body in
3.6.15 is identical to the one upstream changed, so only line offsets
differ. The regression test is added to test_xml_etree.py unchanged
(it uses f-strings, available since 3.6); the Misc/NEWS.d/next/Security
fragment is omitted as 3.6.15 ships a single Misc/NEWS.
- CVE-2026-6879
Updated packages:
-
alt-python36_3.6.15-44_amd64.deb
sha:191b57881d5a2b8f94595954e8b0121d0c9120b1
-
alt-python36-debug_3.6.15-44_amd64.deb
sha:97a99a4d232ab6054396d756d7fbfadfff45bba0
-
alt-python36-devel_3.6.15-44_amd64.deb
sha:e174488ea6f2007e1496770643a278bb6076c0b4
-
alt-python36-libs_3.6.15-44_amd64.deb
sha:5c5d043b6c5fb65c162b17046f83a9c8d07bbf65
-
alt-python36-test_3.6.15-44_amd64.deb
sha:75442545c179d95ea9edb72cbe931cc7af309f4e
-
alt-python36-tkinter_3.6.15-44_amd64.deb
sha:f6ac648a3adc0e4cc5632431c1a57d66398b2123
-
alt-python36-tools_3.6.15-44_amd64.deb
sha:2f879c05988dd3701a9be23ab1191fb9ce339efa
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.