ALAS2023-2026-1674


Amazon Linux 2023 Security Advisory: ALAS2023-2026-1674
Advisory Released Date: 2026-05-14
Advisory Updated Date: 2026-05-14
Severity: Low

Issue Overview:

The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.open_code() to read the .pyc files. sys.audit handlers for this audit event therefore do not fire. (CVE-2026-2297)


Affected Packages:

python3.14


Issue Correction:
Run dnf update python3.14 --releasever 2023.11.20260511 or dnf update --advisory ALAS2023-2026-1674 --releasever 2023.11.20260511 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2023 documentation

New Packages:
aarch64:
    python3.14-freethreading-3.14.4-2.amzn2023.0.1.aarch64
    python3.14-freethreading-tkinter-3.14.4-2.amzn2023.0.1.aarch64
    python3.14-freethreading-devel-3.14.4-2.amzn2023.0.1.aarch64
    python3.14-3.14.4-2.amzn2023.0.1.aarch64
    python3.14-freethreading-idle-3.14.4-2.amzn2023.0.1.aarch64
    python3.14-tkinter-3.14.4-2.amzn2023.0.1.aarch64
    python3.14-idle-3.14.4-2.amzn2023.0.1.aarch64
    python3.14-debug-3.14.4-2.amzn2023.0.1.aarch64
    python3.14-debugsource-3.14.4-2.amzn2023.0.1.aarch64
    python3.14-devel-3.14.4-2.amzn2023.0.1.aarch64
    python3.14-freethreading-debug-3.14.4-2.amzn2023.0.1.aarch64
    python3.14-freethreading-libs-3.14.4-2.amzn2023.0.1.aarch64
    python3.14-libs-3.14.4-2.amzn2023.0.1.aarch64
    python3.14-debuginfo-3.14.4-2.amzn2023.0.1.aarch64
    python3.14-freethreading-test-3.14.4-2.amzn2023.0.1.aarch64
    python3.14-test-3.14.4-2.amzn2023.0.1.aarch64

src:
    python3.14-3.14.4-2.amzn2023.0.1.src

x86_64:
    python3.14-freethreading-3.14.4-2.amzn2023.0.1.x86_64
    python3.14-devel-3.14.4-2.amzn2023.0.1.x86_64
    python3.14-debugsource-3.14.4-2.amzn2023.0.1.x86_64
    python3.14-freethreading-devel-3.14.4-2.amzn2023.0.1.x86_64
    python3.14-3.14.4-2.amzn2023.0.1.x86_64
    python3.14-freethreading-test-3.14.4-2.amzn2023.0.1.x86_64
    python3.14-freethreading-tkinter-3.14.4-2.amzn2023.0.1.x86_64
    python3.14-freethreading-idle-3.14.4-2.amzn2023.0.1.x86_64
    python3.14-tkinter-3.14.4-2.amzn2023.0.1.x86_64
    python3.14-idle-3.14.4-2.amzn2023.0.1.x86_64
    python3.14-freethreading-debug-3.14.4-2.amzn2023.0.1.x86_64
    python3.14-debug-3.14.4-2.amzn2023.0.1.x86_64
    python3.14-libs-3.14.4-2.amzn2023.0.1.x86_64
    python3.14-debuginfo-3.14.4-2.amzn2023.0.1.x86_64
    python3.14-freethreading-libs-3.14.4-2.amzn2023.0.1.x86_64
    python3.14-test-3.14.4-2.amzn2023.0.1.x86_64