ADVISORIES

Vulnerability

CVE-2025-4516

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.

54 advisories report this vulnerability, across 15 ecosystems.

Advisories

  • ALAS2-2025-2923

    Amazon Linux 2 2017.12 - ALAS2-2025-2923: medium priority package update for python3

    Medium CVE-2025-4516CVE-2025-6069 Amazon Linux Updated 10 July 2025
  • ALAS2023-2025-1032

    Amazon Linux 2023 - ALAS2023-2025-1032: Medium priority package update for python3.11

    Medium CVE-2025-4516 Amazon Linux Updated 23 June 2025
  • ALAS2023-2025-1033

    Amazon Linux 2023 - ALAS2023-2025-1033: Medium priority package update for python3.9

    Medium CVE-2025-4516 Amazon Linux Updated 23 June 2025
  • ALAS2023-2025-1044

    Amazon Linux 2023 - ALAS2023-2025-1044: Important priority package update for python3.12

    Important CVE-2024-12718CVE-2025-4138CVE-2025-4330CVE-2025-4435 Amazon Linux Updated 23 June 2025
  • ALPINE-CVE-2025-4516

    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…

    CVE-2025-4516 Alpine Updated 27 August 2026
  • ALPINE-EDGE-CVE-2025-4516
    CVE-2025-4516 Alpine Updated 18 November 2026
  • ALSA-2025:23530

    Important: python39:3.9 security update

    CVE-2024-11168CVE-2024-5642CVE-2024-9287CVE-2025-0938 AlmaLinux Updated 29 October 2026
  • AZL-61865

    CVE-2025-4516 affecting package python3 for versions less than 3.9.19-14

    CVE-2025-4516 Azure Linux Updated 21 April 2026
  • AZL-61870

    CVE-2025-4516 affecting package python3 for versions less than 3.12.9-2

    CVE-2025-4516 Azure Linux Updated 23 November 2026
  • CGA-26gx-hc46-8w68
    CVE-2025-4516 ChainguardWolfi Updated 5 November 2026
  • CGA-296p-m4fr-h7qv
    CVE-2025-4516 Chainguard Updated 5 November 2026
  • CGA-3fw2-7rgc-3hvx
    CVE-2025-4516 ChainguardWolfi Updated 5 November 2026
  • CGA-67r7-q6r2-qvv5
    CVE-2025-4516 Chainguard Updated 5 November 2026
  • CGA-73f9-6p58-64xf
    CVE-2025-4516 ChainguardWolfi Updated 5 November 2026
  • CGA-88c5-3wmg-hp99
    CVE-2025-4516 ChainguardWolfi Updated 5 November 2026
  • CGA-967g-vgjw-gjww
    CVE-2025-4516 ChainguardWolfi Updated 5 November 2026
  • CGA-98r3-ch83-cvm5
    CVE-2025-4516 ChainguardWolfi Updated 5 November 2026
  • CGA-pf3f-7w98-2ccr
    CVE-2025-4516 ChainguardWolfi Updated 5 November 2026
  • CGA-wf8p-2p82-jc9c
    CVE-2025-4516 ChainguardWolfi Updated 5 November 2026
  • CNA-CVE-2025-4516

    Use-after-free in "unicode_escape" decoder with error handler

    CVE-2025-4516 Python Updated 31 July 2026
  • DEBIAN-CVE-2025-4516

    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…

    CVE-2025-4516 Debian Updated 1 November 2026
  • DLA-4445-1

    python3.9 - security update

    CVE-2022-37454CVE-2025-12084CVE-2025-13836CVE-2025-13837 Debian Updated 20 November 2026
  • ELSA-2025-23530

    ELSA-2025-23530: python39:3.9 security update (IMPORTANT)

    Important CVE-2024-11168CVE-2024-5642CVE-2024-9287CVE-2025-0938 Oracle Linux Updated 23 December 2025
  • OESA-2025-2288

    python3 security update

    Medium CVE-2025-4516 openEuler Updated 18 August 2026
  • OESA-2025-2289

    python3 security update

    Medium CVE-2025-4516 openEuler Updated 18 August 2026
  • OESA-2025-2290

    python3 security update

    High CVE-2025-1795CVE-2025-4516CVE-2025-8194 openEuler Updated 18 August 2026
  • OESA-2025-2302

    python3 security update

    Medium CVE-2025-1795CVE-2025-4516 openEuler Updated 18 August 2026
  • OESA-2025-2306

    python3 security update

    Medium CVE-2025-1795CVE-2025-4516 openEuler Updated 18 August 2026
  • RHSA-2025:23530

    Red Hat Security Advisory: python39:3.9 security update

    CVE-2024-11168CVE-2024-5642CVE-2024-9287CVE-2025-0938 Red Hat Updated 13 November 2026
  • RHVEX-CVE-2025-4516

    cpython: python: CPython DecodeError Handling Vulnerability

    Moderate CVE-2025-4516 Red Hat Updated 7 November 2026
  • RLSA-2025:23530

    Important: python39:3.9 security update

    CVE-2024-11168CVE-2024-5642CVE-2024-9287CVE-2025-0938 Rocky Linux Updated 18 December 2025
  • SUSE-SU-2025:01877-1

    Security update for python3

    CVE-2025-4516 SUSE Updated 4 February 2026
  • SUSE-SU-2025:02038-1

    Security update for python3

    CVE-2025-4516 SUSE Updated 23 March 2026
  • SUSE-SU-2025:02047-1

    Security update for python310

    CVE-2024-12718CVE-2025-4138CVE-2025-4330CVE-2025-4516 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2025:02048-1

    Security update for python312

    CVE-2024-12718CVE-2025-4138CVE-2025-4330CVE-2025-4516 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2025:02049-1

    Security update for python311

    CVE-2024-12718CVE-2025-4138CVE-2025-4330CVE-2025-4516 SUSE Updated 21 June 2025
  • SUSE-SU-2025:02050-1

    Security update for python39

    CVE-2024-12718CVE-2025-4138CVE-2025-4330CVE-2025-4516 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2025:02057-1

    Security update for python311

    CVE-2024-12718CVE-2025-4138CVE-2025-4330CVE-2025-4516 SUSEopenSUSE Updated 23 March 2026
  • SUSE-SU-2025:02074-1

    Security update for python313

    CVE-2024-12254CVE-2024-12718CVE-2024-9287CVE-2025-0938 SUSE Updated 4 February 2026
  • SUSE-SU-2025:02297-1

    Security update for python36

    CVE-2024-12718CVE-2025-4138CVE-2025-4330CVE-2025-4435 SUSE Updated 4 February 2026
  • SUSE-SU-2025:02778-1

    Security update for python3

    CVE-2024-12718CVE-2025-4138CVE-2025-4330CVE-2025-4435 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2025:20374-1

    Security update for python311

    CVE-2022-25236CVE-2023-27043CVE-2023-52425CVE-2023-6597 SUSE Updated 23 March 2026
  • SUSE-SU-2025:20492-1

    Security update for python311

    CVE-2019-20907CVE-2019-9947CVE-2020-15523CVE-2020-15801 SUSE Updated 23 March 2026
  • SUSE-SU-2025:20539-1

    Security update for python311

    CVE-2024-12718CVE-2025-4138CVE-2025-4330CVE-2025-4435 SUSE Updated 23 March 2026
  • SUSEVEX-CVE-2025-4516

    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…

    Moderate CVE-2025-4516 SUSE Updated 17 October 2026
  • UBUNTU-CVE-2025-4516

    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…

    CVE-2025-4516 Ubuntu Updated 20 May 2026
  • USN-7570-1

    python3.13, python3.12, python3.11, python3.10, python3.9, python3.8, python3.7, python3.6 vulnerabilities

    CVE-2025-1795CVE-2025-4516 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2025:15141-1

    python314-3.14.0~b1-3.1 on GA media

    CVE-2025-4516 openSUSE Updated 4 February 2026
  • openSUSE-SU-2025:15154-1

    python313-3.13.3-3.1 on GA media

    CVE-2025-4516 openSUSE Updated 23 March 2026
  • openSUSE-SU-2025:15163-1

    python312-3.12.10-4.1 on GA media

    CVE-2025-4516 openSUSE Updated 23 March 2026
  • openSUSE-SU-2025:15190-1

    python310-3.10.17-4.1 on GA media

    CVE-2025-4516 openSUSE Updated 23 March 2026
  • openSUSE-SU-2025:15191-1

    python311-3.11.12-4.1 on GA media

    CVE-2025-4516 openSUSE Updated 23 March 2026
  • openSUSE-SU-2025:15192-1

    python39-3.9.22-3.1 on GA media

    CVE-2025-4516 openSUSE Updated 23 March 2026
  • openSUSE-SU-2025:15713-1

    python315-3.15.0~a1-1.1 on GA media

    CVE-2011-3389CVE-2011-4944CVE-2012-0845CVE-2012-1150 openSUSE Updated 23 March 2026

References