[CLSA-2026:1787226567] alt-python39: Fix of CVE-2026-6879
Type:
security
Severity:
Low
Release date:
2026-08-20 11:49:36 UTC
Description:
- CVE-2026-2297: CPython's SourcelessFileLoader read legacy .pyc files with a plain _io.FileIO instead of io.open_code(), because FileLoader.get_data() only routed SourceLoader and ExtensionFileLoader subclasses through open_code(). A PEP 578 open_code hook installed to vet code before it is executed was therefore not consulted when a sourceless .pyc was imported, letting code loaded that way escape such validation (CWE-668). Backport of cpython a51b1b51 (gh-145506): SourcelessFileLoader is added to the open_code() branch of FileLoader.get_data(). As in the upstream 3.10 backport 876858c9, the frozen Python/importlib_external.h is regenerated as well - the interpreter executes the frozen blob, not the .py file. - CVE-2026-6879: xml.etree.ElementTree.Element.findall(), a fully consumed Element.iterfind(), and Element.find() when the first match sits near the end of the sibling list had O(n**2) time complexity for XPath index predicates ([1], [last()], [last()-N]), because the predicate re-ran parent.findall(tag) for every candidate sibling. Parsing an attacker-supplied XML document with many same-tag siblings could therefore consume excessive CPU time (CWE-407, inefficient algorithmic complexity). Backport of cpython 2ffab083 (gh-152674): the (parent, tag) lookup is cached so each sibling group is scanned once.
CVEs fixed:
Updated packages:
  • alt-python39-3.9.23-25.el8.x86_64.rpm
    sha:cda2f77aa4730ea03ca176401b984c85ec3a38f03ae4ff40a86987628c09c3d9
  • alt-python39-debug-3.9.23-25.el8.x86_64.rpm
    sha:07a8c08917ad7e8076c09555f25862144a53b4a38f3591eb01843b9471274ab6
  • alt-python39-devel-3.9.23-25.el8.x86_64.rpm
    sha:5d85241cf34f0ee47d76076f36a961d953c4470a82a56f9ec6a7bdd3fbb494ea
  • alt-python39-idle-3.9.23-25.el8.x86_64.rpm
    sha:cb8862e24682480de4f87d2cf948ed5f9d05a462da0ba90f11036ffe473e08d3
  • alt-python39-libs-3.9.23-25.el8.x86_64.rpm
    sha:93627a20c13b4a65b984d96f94771f6ddb193cc292d76e4bc29e33fb79a212f8
  • alt-python39-test-3.9.23-25.el8.x86_64.rpm
    sha:b9da843a89746214149106e1bb25e44ed37ec1e2bd6a14f6784050ccb5893656
  • alt-python39-tkinter-3.9.23-25.el8.x86_64.rpm
    sha:6ddd135b5488f4738186b3c28b6f3ec8426e193c58e0d101ab8e4f286077caa9
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.