Amazon Linux Security Advisory
ALAS2023-2025-1033
Amazon Linux 2023 - ALAS2023-2025-1033: Medium priority package update for python3.9
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | python-unversioned-command | All versions before 3.9.22-1.amzn2023.0.2 (fixed in 3.9.22-1.amzn2023.0.2) |
| Amazon Linux:2023 | python3 | All versions before 3.9.22-1.amzn2023.0.2 (fixed in 3.9.22-1.amzn2023.0.2) |
| Amazon Linux:2023 | python3-debug | All versions before 3.9.22-1.amzn2023.0.2 (fixed in 3.9.22-1.amzn2023.0.2) |
| Amazon Linux:2023 | python3-devel | All versions before 3.9.22-1.amzn2023.0.2 (fixed in 3.9.22-1.amzn2023.0.2) |
| Amazon Linux:2023 | python3-idle | All versions before 3.9.22-1.amzn2023.0.2 (fixed in 3.9.22-1.amzn2023.0.2) |
| Amazon Linux:2023 | python3-libs | All versions before 3.9.22-1.amzn2023.0.2 (fixed in 3.9.22-1.amzn2023.0.2) |
| Amazon Linux:2023 | python3-test | All versions before 3.9.22-1.amzn2023.0.2 (fixed in 3.9.22-1.amzn2023.0.2) |
| Amazon Linux:2023 | python3-tkinter | All versions before 3.9.22-1.amzn2023.0.2 (fixed in 3.9.22-1.amzn2023.0.2) |
| Amazon Linux:2023 | python3.9-debuginfo | All versions before 3.9.22-1.amzn2023.0.2 (fixed in 3.9.22-1.amzn2023.0.2) |
| Amazon Linux:2023 | python3.9-debugsource | All versions before 3.9.22-1.amzn2023.0.2 (fixed in 3.9.22-1.amzn2023.0.2) |