Back

MEDIUM

SourcelessFileLoader does not use io.open_code()

Published Mar 4, 2026

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

Remediation

Red Hat mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Weaknesses (2)

References (14)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner PSF
Published Mar 4, 2026
Updated Aug 13, 2026
Reserved Feb 10, 2026

CISA Vulnrichment

Updated Mar 12, 2026

NVD

Status Awaiting Analysis
Modified Aug 13, 2026

Red Hat

Severity Low
Public date Mar 4, 2026
Bugzilla 2444691

ENISA EUVD

Assigner PSF
Published Mar 4, 2026
Updated Aug 13, 2026

GitHub

No data