p PatchFirst

ALPINE-CVE-2025-4516

ALPINE-CVE-2025-4516

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

There is an issue in CPython when using `bytes.decode("unicode_escape", error="ignore|replace")`. If you are not using the "unicode_escape" encoding or an error handler your usage is not affected. To work-around this issue you may stop using the error= handler and instead wrap the bytes.decode() call in a try-except catching the DecodeError.

CVSS 5.9 · Medium · Fix available

Published
Updated

Stack: system

Affected products and versions

  • python3 Alpine:v3.18

    Affected ranges
    • ECOSYSTEM: < 3.11.12-r1

    Update to 3.11.12-r1

  • python3 Alpine:v3.19

    Affected ranges
    • ECOSYSTEM: < 3.11.12-r1

    Update to 3.11.12-r1

  • python3 Alpine:v3.20

    Affected ranges
    • ECOSYSTEM: < 3.12.10-r1

    Update to 3.12.10-r1

  • python3 Alpine:v3.21

    Affected ranges
    • ECOSYSTEM: < 3.12.10-r1

    Update to 3.12.10-r1

  • python3 Alpine:v3.22

    Affected ranges
    • ECOSYSTEM: < 3.12.10-r1

    Update to 3.12.10-r1

  • python3 Alpine:v3.23

    Affected ranges
    • ECOSYSTEM: < 3.12.10-r1

    Update to 3.12.10-r1

  • python3 Alpine:v3.24

    Affected ranges
    • ECOSYSTEM: < 3.12.10-r1

    Update to 3.12.10-r1

Original sources

Check your server →