CVE-2025-4516
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2025
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
Use-after-free in "unicode_escape" decoder with error handler
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
CPython
- Vendor
- Python Software Foundation
- Product
- CPython
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 0 | affected | python | 3.9.23 | Unavailable | None listed |
| 3.10.0 | affected | python | 3.10.18 | Unavailable | None listed |
| 3.11.0 | affected | python | 3.11.13 | Unavailable | None listed |
| 3.12.0 | affected | python | 3.12.11 | Unavailable | None listed |
| 3.13.0 | affected | python | 3.13.4 | Unavailable | None listed |
| 3.14.0a1 | affected | python | 3.14.0b2 | Unavailable | None listed |