Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-4516 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-416Use After Free[email protected]

Affected Products

ProductVersions
Python CPython
All versions

CPE

  • cpe:2.3:a:python:cpython:*:*:*:*:*:*:*:*

Remediation

  • Workaround:low effort

    Avoid using the "unicode_escape" encoding or the error handler. Instead, wrap the bytes.decode() call in a try-except block that catches the DecodeError.

Change History

8 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-4516
NVD Published Date:
May 15, 2025
NVD Last Modified:
Jul 31, 2026
Source:
[email protected]
CVE-2025-4516 Details - Not Deferred