[CLSA-2026:1787235947] Fix CVE(s): CVE-2026-6879
Type:
security
Severity:
Low
Release date:
2026-08-20 14:25:58 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
CVEs fixed:
Updated packages:
  • alt-python36_3.6.15-44_amd64.deb
    sha:254ec8218c0838ff81e7d352b37aa7d54f46bbc4
  • alt-python36-debug_3.6.15-44_amd64.deb
    sha:d3ea42fa96ce9d8f16373f16a187314c9795e328
  • alt-python36-devel_3.6.15-44_amd64.deb
    sha:f728a4596bc99913a91f6fa0e1b6dbb12acd8d3c
  • alt-python36-libs_3.6.15-44_amd64.deb
    sha:85652cfdc13ba3b254b8cead4286e3233541bb15
  • alt-python36-test_3.6.15-44_amd64.deb
    sha:cb16233088ab753ce610861104d4c8d74c19e1ed
  • alt-python36-tkinter_3.6.15-44_amd64.deb
    sha:b1d4a8c24f9110db6e5a2331547c3aea68cfcaf8
  • alt-python36-tools_3.6.15-44_amd64.deb
    sha:3d267e24ea796606c2fbc08b37adb4d7e1903a89
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.