Out-of-bounds read/write during remote profiling and asyncio process introspection when connecting to malicious target
CVE-2026-5713Published 14 Apr 2026, 15:11 UTC
Real-world risk
0.1/ 10Low
Routine
If the vulnerable configuration applies to you: 0.2
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from PSF)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| CPythonUbiquitous | < 3.14.5; >= 3.15.0a1, < 3.15.0b1 | 3.14.5, 3.15.0b1 |
What to do
Update to a fixed version: 3.14.5, 3.15.0b1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.1% chance of exploitation in 30 days (percentile 3), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.014
- Prerequisites never count below 0.020.020
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.02 × threat 0.850.136
- Rounded to one decimal between 0.1 and 100.1
Exploitation and evidence timeline
- 14 Apr 2026 Published
- 3 Dec 2026 Risk 0.1 (cvss fallback)
Weakness
CWE-121, CWE-125
References
- https://github.com/python/cpython/pull/148187patch
- https://github.com/python/cpython/issues/148178issue-tracking
- https://mail.python.org/archives/list/[email protected]/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
- CVE-2026-5713 on CVE.org