Buffer overflow in Python Software Foundation Cpython
CVE-2026-5713
The "profiling.sampling" module (Python 3.15+) and "asyncio introspection capabilities" (3.14+, "python -m asyncio ps" and "python -m asyncio pstree") features could be used to read and write addresses in a privileged process if that process connected to a malicious or "infected" Python process via the remote debugging feature. This vulnerability requires persistently and repeatedly connecting to the process to be exploited, even after the connecting process crashes with high likelihood due to ASLR.
Vulnerability class: Buffer Overflow
Published · last modified .
EPSS exploit prediction
EPSS: 0.002 (3.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 4th percentile — 3.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.002 · change: +0.000
Affected products
- Python Software Foundation Cpython — versions 3.14.0, 0, 3.15.0a1
Weakness classification (CWE)
References
- github.com/python/cpython/pull/148187 (patch)
- github.com/python/cpython/issues/148178 (issue-tracking)
- mail.python.org/archives/list/security-announce@python.org/thread/OG4RHARYSNIE2… (vendor-advisory)
- github.com/python/cpython/commit/289fd2c97a7e5aecb8b69f94f5e838ccfeee7e67 (patch)
- github.com/python/cpython/commit/316f6265b7f9ca4ffed5346b747475ef1943f35d (patch)
- af854a3a-2127-422b-91ae-364da2661108