Skip to content

CPython

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?

ProductAffected versions (from the sources)Fixed in
CPythonUbiquitous< 3.14.5; >= 3.15.0a1, < 3.15.0b13.14.5, 3.15.0b1

What to do

Update to a fixed version: 3.14.5, 3.15.0b1.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededHighAdmin or equivalentFrom the CVSS vector0.20
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.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
  1. Prerequisites multiplied together0.014
  2. Prerequisites never count below 0.020.020
  3. Threat T1: Nothing known0.850
  4. 10 × impact 0.8 × prerequisites 0.02 × threat 0.850.136
  5. Rounded to one decimal between 0.1 and 100.1

How the score works

Exploitation and evidence timeline

  1. 14 Apr 2026 Published
  2. 3 Dec 2026 Risk 0.1 (cvss fallback)

Weakness

CWE-121, CWE-125

References

Get alerts for CPython

Free email or text alerts when a vulnerability in CPython reaches risk 8 or higher. Nothing else.