p PatchFirst

ALPINE-CVE-2026-2297

ALPINE-CVE-2026-2297

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.7 · Medium · Fix available

Published
Updated

Stack: system

Affected products and versions

  • python3 Alpine:v3.21

    Affected ranges
    • ECOSYSTEM: < 3.12.14-r0

    Update to 3.12.14-r0

  • python3 Alpine:v3.22

    Affected ranges
    • ECOSYSTEM: < 3.12.14-r0

    Update to 3.12.14-r0

  • python3 Alpine:v3.23

    Affected ranges
    • ECOSYSTEM: < 3.12.14-r0

    Update to 3.12.14-r0

  • python3 Alpine:v3.24

    Affected ranges
    • ECOSYSTEM: < 3.14.5-r0

    Update to 3.14.5-r0

Original sources

Check your server →