Release date:
2026-08-20 13:35:32 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:0c1142ca1d3b9493aeeead371677f248d4087ff9
-
alt-python36-debug_3.6.15-44_amd64.deb
sha:79e4d6f341050c1de22f565e1cec9010a2760fe5
-
alt-python36-devel_3.6.15-44_amd64.deb
sha:01b51a74e0a49dcb8fac123799d1d46f4e70bb8c
-
alt-python36-libs_3.6.15-44_amd64.deb
sha:d2b75d39fb2804ba91b7fa92cb354201ceae9d35
-
alt-python36-test_3.6.15-44_amd64.deb
sha:979f1710682cd157b198503ad2c63a0020abdd77
-
alt-python36-tkinter_3.6.15-44_amd64.deb
sha:0bf25847f55d3339c74d2e6ce2f4e07752412a43
-
alt-python36-tools_3.6.15-44_amd64.deb
sha:c9e4cf945e63763360609b91e160d6f7b64591b1
Notes:
This page is generated automatically and has not been checked for errors. For clarification or
corrections please contact the
CloudLinux Packaging Team.