vulnerability
FreeBSD: VID-E587B52D-38AC-11F0-B7B6-DCFE074BD614 (CVE-2025-4516): cpython -- Use-after-free in "unicode_escape" decoder with error handler
Severity | CVSS | Published | Added | Modified |
---|---|---|---|---|
9 | (AV:N/AC:L/Au:N/C:N/I:C/A:C) | May 15, 2025 | May 25, 2025 | May 30, 2025 |
Severity
9
CVSS
(AV:N/AC:L/Au:N/C:N/I:C/A:C)
Published
May 15, 2025
Added
May 25, 2025
Modified
May 30, 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.
Solution(s)
freebsd-upgrade-package-python310freebsd-upgrade-package-python311freebsd-upgrade-package-python312freebsd-upgrade-package-python39
References

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.