---
id: CVE-2026-5713
title: >-
  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 pro…
summary: >-
  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 pro…
severity: none
cwe:
  - CWE-121
  - CWE-125
published: '2026-04-14'
updated: '2026-07-31'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-5713'
references:
  - url: >-
      https://github.com/python/cpython/commit/289fd2c97a7e5aecb8b69f94f5e838ccfeee7e67
    label: cna@python.org
  - url: >-
      https://github.com/python/cpython/commit/316f6265b7f9ca4ffed5346b747475ef1943f35d
    label: cna@python.org
  - url: 'https://github.com/python/cpython/issues/148178'
    label: cna@python.org
  - url: 'https://github.com/python/cpython/pull/148187'
    label: cna@python.org
  - url: >-
      https://mail.python.org/archives/list/security-announce@python.org/thread/OG4RHARYSNIE22GGOMVMCRH76L5HKPLM/
    label: cna@python.org
  - url: 'http://www.openwall.com/lists/oss-security/2026/04/15/6'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00153
epssPercentile: 0.03719
ingestedAt: '2026-07-31T22:04:40.366Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
