[CLSA-2026:1787219615] alt-python39: Fix of CVE-2026-6879
Type:
security
Severity:
Low
Release date:
2026-08-20 14:45:57 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.el10.x86_64.rpm
    sha:d13d936cb75368f6e176eef81546c5cf9f90a04b2caa35b37325501acb8caa41
  • alt-python39-debug-3.9.23-25.el10.x86_64.rpm
    sha:cc2df21beb48b44b83b9ea9af5a2d790f8f1c7ed8684c7ef048ce35ffea7e96d
  • alt-python39-devel-3.9.23-25.el10.x86_64.rpm
    sha:d6a033a3c6391a7cef4841685876e812651ad2e9228007056750915787b6475d
  • alt-python39-idle-3.9.23-25.el10.x86_64.rpm
    sha:5037d7e35adba3695002d482cd282f28e89f1754da872f9485cb9ac713379a90
  • alt-python39-libs-3.9.23-25.el10.x86_64.rpm
    sha:6cca18399616eeaaae3b7a0cfb7e16b7a635b2ca9d6891a12d7a29e472d560f5
  • alt-python39-test-3.9.23-25.el10.x86_64.rpm
    sha:a120f2b4840315bf55865e718da374268f06131831330c8f9f12480b88689bd1
  • alt-python39-tkinter-3.9.23-25.el10.x86_64.rpm
    sha:f807de659c340a5ff1e9ec0c329f0a8e7cd2cc1a24ffeaaf25c31d8cc18448cb
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.