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.
Problem types
CWE-121 Stack-based buffer overflow
Product status
3.14.0 (python) before 3.15.0
Credits
Nicholas Gould (https://github.com/gouldnicholas)
Pablo Galindo Salgado
Pablo Galindo Salgado
References
www.openwall.com/lists/oss-security/2026/04/15/6
github.com/python/cpython/pull/148187
github.com/python/cpython/issues/148178
mail.python.org/.../thread/OG4RHARYSNIE22GGOMVMCRH76L5HKPLM/
github.com/...ommit/289fd2c97a7e5aecb8b69f94f5e838ccfeee7e67