_resetflags
Lib/tempfile.py
Last patched
Overview
_resetflags in Lib/tempfile.py (python/cpython) was changed by 1 published CVE fix in 2026, in 1 distinct patch that added or removed 55 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 _resetflags, newest first, with the lines each fix touched.
CVE-2026-12345 · lines 279–288 · +1 −54
Medium · CVSS 5.9EPSS 0.3%2026-09-29
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 _resetflags.
- How many CVEs have patched _resetflags?
- 1 published CVEs changed _resetflags in python/cpython, in 1 distinct patches totalling 55 changed lines, between 2026 and 2026.
- What is the latest CVE that changed _resetflags?
- CVE-2026-12345 (Race condition in tempfile.TemporaryDirectory cleanup allows deleting files outside the temporary directory), published 2026-09-29, changed lines 279 to 288 of Lib/tempfile.py.
- How does _resetflags compare to the rest of python/cpython?
- python/cpython has 132 CVEs with a located fix in total; 1 of them changed _resetflags.
- 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
- Lib/tempfile.py 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.