Azure Linux Advisory
AZL-61870
CVE-2025-4516 affecting package python3 for versions less than 3.12.9-2
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 |
|---|---|---|
| Azure Linux:3 | python3 | All versions before 3.12.9-2 (fixed in 3.12.9-2) |