[CLSA-2026:1787237827] Fix CVE(s): CVE-2026-6879
Type:
security
Severity:
Low
Release date:
2026-08-20 14:57:18 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:365db91e6a87c726220ebe7acecb920d512cc149
  • alt-python36-debug_3.6.15-44_amd64.deb
    sha:7abdb24c72b735ac7b02ddb289b65b09a49182f1
  • alt-python36-devel_3.6.15-44_amd64.deb
    sha:b377690c63ab8bb164301021d39d6c0166331675
  • alt-python36-libs_3.6.15-44_amd64.deb
    sha:42be0172d0f422fdcb2a53f4959a87e111e1170c
  • alt-python36-test_3.6.15-44_amd64.deb
    sha:f3f4efe99c4e87f149d5679c472a603bd0294d4c
  • alt-python36-tkinter_3.6.15-44_amd64.deb
    sha:42e19b93e0307c7981109c1c1c927d9f2fd33139
  • alt-python36-tools_3.6.15-44_amd64.deb
    sha:bccb5fd15adf210c956515ff32a32d287875040f
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.