🛡️ BIT-libpython-2026-2297 — libpython

🟡 CVSS 5.0 — Medium ✅ No Known Exploit OSV
5.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

SourcelessFileLoader does not use io.open_code()

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 software

BIT-libpython-2026-2297 is recorded against 1 package.

  • libpython

Timeline and source

Published on 6 March 2026 and last revised on 27 March 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

www.openwall.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
nvd.nist.gov (Web)

Details

Severity MEDIUM
CVSS Score 5.0
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2026-03-06
Updated 2026-08-12
Modified 2026-03-27
Fix URL N/A

Affected Packages

Software From version Fixed in
libpython

More BIT LIBPYTHON 2026 advisories

Browse all of BIT LIBPYTHON 2026 in the advisory index.

Vulnerability Monitoring

Track new vulnerabilities in libpython

BIT-libpython-2026-2297 is rated CVSS 5.0 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.