Release date:
2026-08-20 14:09:29 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:7c070fdfad68ef4b358dc8b1dccf7c7b00bb5623
-
alt-python36-debug_3.6.15-44_amd64.deb
sha:c69b4d5595234156f472a1da1ae788b645904171
-
alt-python36-devel_3.6.15-44_amd64.deb
sha:4ad0f04369f5587dd1c851e9605de2b49bec1b5b
-
alt-python36-libs_3.6.15-44_amd64.deb
sha:2d630bd079f42ee08452cb5281047e132d29a7dd
-
alt-python36-test_3.6.15-44_amd64.deb
sha:be10d87804ab2972dd7b18b60d59aeebf7701599
-
alt-python36-tkinter_3.6.15-44_amd64.deb
sha:b6d30606c1c86ff1f8045a5d680216d95773f91a
-
alt-python36-tools_3.6.15-44_amd64.deb
sha:086027b5b8c51d91b4dd608f4f49ceb5c6f5920a
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.