cveboard RSS feed

CVE-2025-4516

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2025
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

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
CPython · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
0affectedpython3.9.23UnavailableNone listed
3.10.0affectedpython3.10.18UnavailableNone listed
3.11.0affectedpython3.11.13UnavailableNone listed
3.12.0affectedpython3.12.11UnavailableNone listed
3.13.0affectedpython3.13.4UnavailableNone listed
3.14.0a1affectedpython3.14.0b2UnavailableNone listed