CVE-2025-4516CWE-416

CVE-2025-4516

published May 15, 2025

CVSS
5.9
EPSS
0%
Percentile
12.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
5.9 · NONE
CVSS v4.0
Not supplied
EPSS
0.00225 · 12.5th percentile
Weakness
CWE-416 · Use After Free
Published
2025-05-15T18:15Z
References (12)
EPSS history
Timeline
  • 15 MAY 13:29Z
    Use-after-free in "unicode_escape" decoder with error handler
    cvelistv5