[CLSA-2026:1787220175] alt-python39: Fix of CVE-2026-6879
Type:
security
Severity:
Low
Release date:
2026-08-20 12:27:04 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.el7.x86_64.rpm
    sha:af11f4a8f549299f8dfbc1a22881337a75a527bb0cc2f7ac3adfad616d6d69fa
  • alt-python39-debug-3.9.23-25.el7.x86_64.rpm
    sha:0566a899634bb8d964f39d5f311a4e62951e9ea394614b500a7cb545afb8e345
  • alt-python39-devel-3.9.23-25.el7.x86_64.rpm
    sha:6ee954c1496db3ebc70f633a986641eddf64ca4030b23c65682146141c066db0
  • alt-python39-idle-3.9.23-25.el7.x86_64.rpm
    sha:3c1497daaf705cc92e251f2f3d287ec1bcb375df439c9f50d8c12b2a56c50bb5
  • alt-python39-libs-3.9.23-25.el7.x86_64.rpm
    sha:49fc69c4eb459b01c3dd59bb7e94078566c8f38c7e9b1c8d034065cd4b5da8ca
  • alt-python39-test-3.9.23-25.el7.x86_64.rpm
    sha:0aaa1691dc22028050b360ef56bde4b7029747a233bd5440c11640a79d41af4b
  • alt-python39-tkinter-3.9.23-25.el7.x86_64.rpm
    sha:0972e9e7c35a34fe1377d6dde6d92925e8dcb4fd62f14bd405bc6f9283be8cf8
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.