vulnerability
Ubuntu: USN-7570-1 (CVE-2025-4516): Python vulnerabilities
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 10 | (AV:N/AC:L/Au:N/C:C/I:C/A:C) | May 15, 2025 | Jun 17, 2025 | Oct 24, 2025 |
Severity
10
CVSS
(AV:N/AC:L/Au:N/C:C/I:C/A:C)
Published
May 15, 2025
Added
Jun 17, 2025
Modified
Oct 24, 2025
Description
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.
Solutions
ubuntu-pro-upgrade-libpython3-10ubuntu-pro-upgrade-libpython3-10-minimalubuntu-pro-upgrade-libpython3-11ubuntu-pro-upgrade-libpython3-11-minimalubuntu-pro-upgrade-libpython3-12-minimalubuntu-pro-upgrade-libpython3-12t64ubuntu-pro-upgrade-libpython3-13ubuntu-pro-upgrade-libpython3-13-minimalubuntu-pro-upgrade-libpython3-6ubuntu-pro-upgrade-libpython3-6-minimalubuntu-pro-upgrade-libpython3-7ubuntu-pro-upgrade-libpython3-7-minimalubuntu-pro-upgrade-libpython3-8ubuntu-pro-upgrade-libpython3-8-minimalubuntu-pro-upgrade-libpython3-9ubuntu-pro-upgrade-libpython3-9-minimalubuntu-pro-upgrade-python3-10ubuntu-pro-upgrade-python3-10-minimalubuntu-pro-upgrade-python3-11ubuntu-pro-upgrade-python3-11-minimalubuntu-pro-upgrade-python3-12ubuntu-pro-upgrade-python3-12-minimalubuntu-pro-upgrade-python3-13ubuntu-pro-upgrade-python3-13-minimalubuntu-pro-upgrade-python3-6ubuntu-pro-upgrade-python3-6-minimalubuntu-pro-upgrade-python3-7ubuntu-pro-upgrade-python3-7-minimalubuntu-pro-upgrade-python3-8ubuntu-pro-upgrade-python3-8-minimalubuntu-pro-upgrade-python3-9ubuntu-pro-upgrade-python3-9-minimal
References
- CVE-2025-4516
- https://attackerkb.com/topics/CVE-2025-4516
- CWE-416
- UBUNTU-USN-7570-1
- URL-https://github.com/python/cpython/commit/5646648678295a44aa82636c6e92826651baf33a
- URL-https://github.com/python/cpython/commit/9f69a58623bd01349a18ba0c7a9cb1dad6a51e8e
- URL-https://github.com/python/cpython/pull/129648
- URL-https://mail.python.org/archives/list/[email protected]/thread/L75IPBBTSCYEF56I2M4KIW353BB3AY74/
- URL-https://ubuntu.com/security/notices/USN-7570-1
- URL-https://www.cve.org/CVERecord?id=CVE-2025-4516
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.