[CLSA-2026:1787238159] alt-python39: Fix of CVE-2026-6879
Type:
security
Severity:
Low
Release date:
2026-08-20 15:02:49 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.el9.x86_64.rpm
    sha:a8a723bc1a30367d43f5e1abd189bce4f039f70d2683c036a87f9f95567c9733
  • alt-python39-debug-3.9.23-25.el9.x86_64.rpm
    sha:3b0fada1f8593ffc09fc703aee71a1edc14699135728d7d2d088aacad5e1aa22
  • alt-python39-devel-3.9.23-25.el9.x86_64.rpm
    sha:a7dc8d761f6042bd7c472938c45ab2dd72e8165500cd42780397086591e4325a
  • alt-python39-idle-3.9.23-25.el9.x86_64.rpm
    sha:2d5ca01c4ad76303214dd676ef1e445ce711c1487503d636227210b2b4c6b18a
  • alt-python39-libs-3.9.23-25.el9.x86_64.rpm
    sha:9d981877230369d64f2295a07c8bf93cd355f33128fa864fbc8aa772be5f5c2c
  • alt-python39-test-3.9.23-25.el9.x86_64.rpm
    sha:fd9aeee4cdf27b85287841f0703c08619fbe292fa6fc8d932c5bee26fc7240d3
  • alt-python39-tkinter-3.9.23-25.el9.x86_64.rpm
    sha:6fd0a507e60e7d78beb7dac97cc9ffe50fe5b1c8b94de308e51a9f1ce00c6e2e
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.