Summary
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: 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 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.
Fixed packages 9
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | python3.11 | 0:3.11.12-2.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.11-debug | 0:3.11.12-2.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.11-debuginfo | 0:3.11.12-2.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.11-debugsource | 0:3.11.12-2.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.11-devel | 0:3.11.12-2.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.11-idle | 0:3.11.12-2.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.11-libs | 0:3.11.12-2.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.11-test | 0:3.11.12-2.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.11-tkinter | 0:3.11.12-2.amzn2023.0.2 |
Vulnerabilities 1
-
Medium 5.9
Use-after-free in "unicode_escape" decoder with error handler
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= handle…
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2025-4516.html