PublishedCVE-2025-4516·
5.9Medium
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.9.23, 3.10.18, 3.11.13 and 3 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.
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Python Software Foundation | <3.9.23, >=3.10.0 <3.10.18, >=3.11.0 <3.11.13, >=3.12.0 <3.12.11, >=3.13.0 <3.13.4, >=3.14.0a1 <3.14.0b2 | 3.9.23, 3.10.18, 3.11.13, 3.12.11, 3.13.4, 3.14.0b2 |
Every event on this vulnerability
A live severity badge for an advisory, README or ticket