CVE-2026-5713
Out-of-bounds read/write during remote profiling and asyncio process introspection when connecting to malicious target
- State
- Published
- Severity
- 5.3 Medium
- Published
- Apr 14, 2026
- Updated
- Jul 31, 2026
- Reserved
- Apr 6, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N | PSF |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
CPythonPython Software Foundation |
|
References
- https://github.com/python/cpython/pull/148187patch
- https://github.com/python/cpython/issues/148178issue-tracking
- https://mail.python.org/archives/list/security-announce@python.org/thread/OG4RHARYSNIE22GGOMVMCRH76L5HKPLM/vendor-advisory
- https://github.com/python/cpython/commit/289fd2c97a7e5aecb8b69f94f5e838ccfeee7e67patch
- https://github.com/python/cpython/commit/316f6265b7f9ca4ffed5346b747475ef1943f35dpatch
- http://www.openwall.com/lists/oss-security/2026/04/15/6
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.