Medium severity · published Apr 14, 2026
CVE-2026-5713
Out-of-bounds read/write during remote profiling and asyncio process introspection when connecting to malicious target
5.3
CVSS
0.1%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 3% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CP
CPython · Python Software Foundation
before 3.14.5; 3.15.0a1 before 3.15.0b1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-5713
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-5713
github.com
https://github.com/python/cpython/commit/289fd2c97a7e5aecb8b69f94f5e838ccfeee7e67
github.com
https://github.com/python/cpython/commit/316f6265b7f9ca4ffed5346b747475ef1943f35d
github.com
https://github.com/python/cpython/issues/148178
github.com
https://github.com/python/cpython/pull/148187
mail.python.org
https://mail.python.org/archives/list/security-announce@python.org/thread/OG4RHARYSNIE22GGOMVMCRH76L5HKPLM/
www.openwall.com
http://www.openwall.com/lists/oss-security/2026/04/15/6
More from CPython
9.4
CVE-2026-115557
Distrust compromised intermediate certificates in ssl module
9.2
CVE-2026-19445
Use-after-free of a server-side SSLContext when sni_callback switches contexts
8.8
CVE-2026-3298
Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes
8.4
CVE-2026-82049
tarfile extraction filters allow file modification and content disclosure via hard link to symlink
8.2
CVE-2026-11972
tarfile opened in streaming mode mishandles EOF
