CVE-2025-4516

Updated on 15 May 2025

Severity

Awaiting Analysis

Details

CVSS score
8.6

Overview

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

Details

Affected packages:
python3 @ 3.6.8 (+6 more)
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.

Fixes