Debian Security Tracker
DEBIAN-CVE-2025-4516
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | python3.11 | All versions before 3.11.2-6+deb12u7 (fixed in 3.11.2-6+deb12u7) |
| Debian:13 | python3.13 | All versions before 3.13.3-4 (fixed in 3.13.3-4) |