Skip to content
OpenAdvisories

Description

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.

Affected products

VendorProductAffectedFixed
Python Software Foundation CPython < 3.10.21, 3.11.0 – < 3.11.16, 3.12.0 – < 3.12.14, 3.13.0 – < 3.13.13, 3.14.0 – < 3.14.4, 3.15.0a1 – < 3.15.0a7 3.10.21

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pypy3 7.3.22+dfsg-1 —
Debian 14 python3.14 3.14.3-4 —
Debian 13 pypy3 No fix yet —
Debian 13 python3.13 3.13.5-2+deb13u1 —
Debian 12 pypy3 No fix yet —
Debian 12 python3.11 3.11.2-6+deb12u8 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS python3.14 3.14.4-1ubuntu0.1 USN-8509-1
Ubuntu 25.10 python3.13 +1 No fix yet —
Ubuntu 24.04 LTS python3.12 3.12.3-1ubuntu0.15 USN-8509-1
Ubuntu 22.04 LTS python3.10 3.10.12-1~22.04.16 USN-8509-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS python3.11 No fix yet —
Ubuntu Pro 20.04 LTS python3.8 +1 No fix yet —
Ubuntu Pro 18.04 LTS python3.8 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 python3 +8 3.12.13-2.el10_2 RHSA-2026:19064
RHEL 10 python3.14 +13 3.14.4-2.el10_2 RHSA-2026:19019
RHEL 9 python3.12 +6 3.12.13-2.el9_8 RHSA-2026:19177
RHEL 9 python3.14 +13 3.14.4-2.el9_8 RHSA-2026:19176
RHEL 8 python3.12 +7 3.12.13-2.el8_10 RHSA-2026:10950
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 python3 +15 3.14.4-1.hum1 RHSA-2026:7661
Red Hat Hardened Images 1 python3.11 +6 3.11.15-4.hum1 RHSA-2026:8822
Red Hat Hardened Images 1 python3.12 +6 3.12.13-3.hum1 RHSA-2026:8824
Red Hat Hardened Images 1 python3.13 +8 3.13.13-1.hum1 RHSA-2026:7443

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 python3 +7 3.12.13-2.el10_2 ALSA-2026:19064
AlmaLinux 10 python3.14 +13 3.14.4-2.el10_2 ALSA-2026:19019
AlmaLinux 9 python3.12 +6 3.12.13-2.el9_8 ALSA-2026:19177
AlmaLinux 9 python3.14 +13 3.14.4-2.el9_8 ALSA-2026:19176
AlmaLinux 8 python3.12 +7 3.12.13-2.el8_10 ALSA-2026:10950

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 python3.12 3.12.13-2.el10_2 RLSA-2026:19064
Rocky Linux 10 python3.14 3.14.4-2.el10_2 RLSA-2026:19019
Rocky Linux 9 python3.12 3.12.13-2.el9_8 RLSA-2026:19177
Rocky Linux 9 python3.14 3.14.4-2.el9_8 RLSA-2026:19176
Rocky Linux 8 python3.12 3.12.13-2.el8_10 RLSA-2026:10950
ReleasePackageFixed inAdvisory
SLES 15 SP7 python311-core 3.11.15-150600.3.53.1 SUSE-SU-2026:1349-1
SLES 15 SP6 python311 +1 3.11.15-150600.3.53.1 SUSE-SU-2026:1349-1
SLES 15 SP6 python312 +1 3.12.14-150600.3.68.1 SUSE-SU-2026:4534-1
SLES 15 SP5 python311 +2 3.11.15-150400.9.80.1 SUSE-SU-2026:1117-1
SLES 15 SP4 python311 +2 3.11.15-150400.9.80.1 SUSE-SU-2026:1117-1
SLES 3 python311 +1 3.11.15-150600.3.53.1 SUSE-SU-2026:1349-1
SLES 3 python313 +1 3.13.13-150700.4.45.1 SUSE-SU-2026:1354-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 python313 +2 3.13.13-160000.1.1 SUSE-SU-2026:21178-1
SLES for SAP 15 SP6 python311 +1 3.11.15-150600.3.53.1 SUSE-SU-2026:1349-1
SLES for SAP 15 SP6 python312 +1 3.12.14-150600.3.68.1 SUSE-SU-2026:4534-1
SLES for SAP 15 SP5 python311 +2 3.11.15-150400.9.80.1 SUSE-SU-2026:1117-1
SLES for SAP 15 SP4 python311 +2 3.11.15-150400.9.80.1 SUSE-SU-2026:1117-1
SLES 16.0 python313 +2 3.13.13-160000.1.1 SUSE-SU-2026:21178-1
SLE Micro 6.2 python313 +1 3.13.13-160000.1.1 SUSE-SU-2026:21104-1
SLE Micro 6.1 python311 +1 3.11.15-slfo.1.1_2.1 SUSE-SU-2026:23743-1, SUSE-SU-2026:20951-1
SLE Micro 6.0 python311 +1 3.11.15-2.1 SUSE-SU-2026:20956-1
SLE HPC 15 SP5 python311 +2 3.11.15-150400.9.80.1 SUSE-SU-2026:1117-1
SLE HPC 15 SP4 python311 +2 3.11.15-150400.9.80.1 SUSE-SU-2026:1117-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python310 3.10.20-2.1 openSUSE-SU-2026:10404-1
openSUSE Tumbleweed python311 3.11.15-2.1 openSUSE-SU-2026:10381-1
openSUSE Tumbleweed python312 3.12.13-2.1 openSUSE-SU-2026:10377-1
openSUSE Tumbleweed python313 3.13.12-2.1 openSUSE-SU-2026:10394-1
openSUSE Tumbleweed python314 3.14.3-3.1 openSUSE-SU-2026:10405-1
openSUSE Tumbleweed python315 3.15.0~a8-1.1 openSUSE-SU-2026:10522-1
openSUSE Leap 16.0 python313 +4 3.13.13-160000.1.1 openSUSE-SU-2026:20517-1
openSUSE Leap 15.6 python311 +2 3.11.15-150600.3.53.1 SUSE-SU-2026:1349-1
openSUSE Leap 15.6 python39 +2 3.9.25-150300.4.96.1 SUSE-SU-2026:0971-1
ReleasePackageFixed inAdvisory
Alpine v3.24 python3 3.14.5-r0 —
Alpine v3.23 python3 3.12.14-r0 —
Alpine v3.22 python3 3.12.14-r0 —
Alpine v3.21 python3 3.12.14-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 python3 +7 3.9.25-1.amzn2023.0.4 ALAS2023-2026-1583
Amazon Linux 2023 python3.11 +6 3.11.15-1.amzn2023.0.2 ALAS2023-2026-1832
Amazon Linux 2023 python3.12 +6 3.12.13-2.amzn2023.0.2 ALAS2023-2026-1821
Amazon Linux 2023 python3.13 +8 3.13.13-1.amzn2023.0.1 ALAS2023-2026-1600
Amazon Linux 2023 python3.14 +13 3.14.4-2.amzn2023.0.1 ALAS2023-2026-1674

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 python3 3.12.9-14 —
Azure Linux 3 tensorflow No fix yet —
Azure Linux 2 (CBL-Mariner) python3 No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 python3 +7 3.12.13-2.0.1.el10_2 ELSA-2026-19064
Oracle Linux 10 python3.14 +13 3.14.4-2.el10_2 ELSA-2026-19019
Oracle Linux 9 python3.12 +6 3.12.13-2.0.1.el9_8 ELSA-2026-19177
Oracle Linux 9 python3.14 +13 3.14.4-2.el9_8 ELSA-2026-19176
Oracle Linux 8 python3.12 +7 3.12.13-2.el8_10 ELSA-2026-10950

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling python-3.10 3.10.21-r0 —
Wolfi rolling python-3.11 3.11.16-r1 —
Wolfi rolling python-3.12 3.12.14-r2 —
Wolfi rolling python-3.13 3.13.12-r3 —
Wolfi rolling python-3.14 +7 3.14.3-r3 —

Advisories 48

References