Py_UNUSED
Objects/bytesobject.c
Last patched
Overview
Py_UNUSED in Objects/bytesobject.c (python/cpython) was changed by 1 published CVE fix in 2025, in 2 distinct patches that added or removed 17 lines in total.
python/cpython has 132 CVEs with a located fix in total, so 1% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed Py_UNUSED, newest first, with the lines each fix touched.
CVE-2025-4516 · lines 1202–1214 · +9 −8
Medium · CVSS 5.9EPSS 0.2%2025-05-15
Get an alert when the next CVE fix lands in python/cpython, with the patched functions.
Monitor these CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
Other hotspots in the repository
Functions in python/cpython changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to Py_UNUSED.
- How many CVEs have patched Py_UNUSED?
- 1 published CVEs changed Py_UNUSED in python/cpython, in 2 distinct patches totalling 17 changed lines, between 2025 and 2025.
- What is the latest CVE that changed Py_UNUSED?
- CVE-2025-4516 (Use-after-free in "unicode_escape" decoder with error handler), published 2025-05-15, changed lines 1202 to 1214 of Objects/bytesobject.c.
- How does Py_UNUSED compare to the rest of python/cpython?
- python/cpython has 132 CVEs with a located fix in total; 1 of them changed Py_UNUSED.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- Objects/bytesobject.c on GitHub (opens in a new tab)
- All patched functions in python/cpython
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track python/cpython CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.