NONE · 0

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 ...

Vulnerability 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.

Related Weaknesses (CWE)

References

FAQ

What is CVE-2025-4516?

CVE-2025-4516 is a documented vulnerability. 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 ...

How severe is CVE-2025-4516?

CVSS scoring is not yet available for CVE-2025-4516. Check NVD for updates.

Is there a patch for CVE-2025-4516?

Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.