Skip to content
OpenAdvisories
Medium ALAS2023-2025-1033 1 CVE

Moderate: python3.9 security update (Amazon Linux 2023)

Published Jun 18, 2025 · Updated Jun 23, 2025

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 10

ReleasePackageFixed in
Amazon Linux · 2023 python-unversioned-command 0:3.9.22-1.amzn2023.0.2
Amazon Linux · 2023 python3 0:3.9.22-1.amzn2023.0.2
Amazon Linux · 2023 python3-debug 0:3.9.22-1.amzn2023.0.2
Amazon Linux · 2023 python3-devel 0:3.9.22-1.amzn2023.0.2
Amazon Linux · 2023 python3-idle 0:3.9.22-1.amzn2023.0.2
Amazon Linux · 2023 python3-libs 0:3.9.22-1.amzn2023.0.2
Amazon Linux · 2023 python3-test 0:3.9.22-1.amzn2023.0.2
Amazon Linux · 2023 python3-tkinter 0:3.9.22-1.amzn2023.0.2
Amazon Linux · 2023 python3.9-debuginfo 0:3.9.22-1.amzn2023.0.2
Amazon Linux · 2023 python3.9-debugsource 0:3.9.22-1.amzn2023.0.2

Vulnerabilities 1

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-4516.html