ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-2297

Details

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 packages

EcosystemPackageAffected versions
Debian:12pypy3
All versions, no fix listed
Debian:13pypy3
All versions, no fix listed
Debian:14pypy3
All versions before 7.3.22+dfsg-1 (fixed in 7.3.22+dfsg-1)
Debian:12python3.11
All versions before 3.11.2-6+deb12u8 (fixed in 3.11.2-6+deb12u8)
Debian:13python3.13
All versions before 3.13.5-2+deb13u1 (fixed in 3.13.5-2+deb13u1)
Debian:14python3.14
All versions before 3.14.3-4 (fixed in 3.14.3-4)

References