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.
References6
- github.com/python/cpython/commit/289fd2c97a7e5aecb8b69f94f5e838…
- github.com/python/cpython/commit/316f6265b7f9ca4ffed5346b747475…
- github.com/python/cpython/issues/148178
- github.com/python/cpython/pull/148187
- mail.python.org/archives/list/[email protected]/thre…
- www.openwall.com/lists/oss-security/2026/04/15/6
Metrics
- CVSS 4.0
-
5.3
MEDIUM
Score source: CNA
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 2 · as of 12 November 2026
- CWE
- CWE-121CWE-125
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.