Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-61870.json
JSON Data
https://api.test.osv.dev/v1/vulns/AZL-61870
Upstream
Published
2025-05-15T14:15:31Z
Modified
2026-04-01T05:19:56.716845Z
Summary
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.

References

Affected packages

Azure Linux:3 / python3

Package

Name
python3
Purl
pkg:rpm/azure-linux/python3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.12.9-2

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-61870.json"