Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-5713: CWE-121 Stack-based buffer overflow in Python Software Foundation CPython

0
Medium
VulnerabilityCVE-2026-5713cvecve-2026-5713cwe-121cwe-125
Published: Tue Apr 14 2026 (04/14/2026, 15:11:51 UTC)
Source: CVE Database V5
Vendor/Project: Python Software Foundation
Product: CPython

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/14/2026, 15:47:34 UTC

Technical Analysis

This vulnerability in CPython 3.14.0 arises from the remote debugging feature, which can be exploited to perform stack-based buffer overflow attacks (CWE-121) and potentially out-of-bounds read/write (CWE-125) on privileged processes. An attacker must repeatedly connect to the target process via the remote debugging interface to exploit this flaw, despite frequent crashes caused by address space layout randomization (ASLR). The CVSS 4.0 base score is 5.3, reflecting medium severity with local attack vector, high attack complexity, and partial user interaction required. No patch or official remediation level has been provided by the Python Software Foundation as of the publication date.

Potential Impact

Successful exploitation could allow an attacker to read and write memory addresses in a privileged process, potentially leading to privilege escalation or arbitrary code execution. However, exploitation is complicated by the need for persistent connection attempts and the instability caused by ASLR, which likely causes frequent crashes of the attacking process.

Mitigation Recommendations

Patch status is not yet confirmed — check the Python Software Foundation advisory for current remediation guidance. Until an official fix is released, avoid enabling or using the remote debugging feature in privileged contexts, and restrict access to debugging interfaces to trusted users and environments.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
PSF
Date Reserved
2026-04-06T17:16:14.111Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69de5df182d89c981fb975c1

Added to database: 4/14/2026, 3:32:01 PM

Last enriched: 4/14/2026, 3:47:34 PM

Last updated: 4/14/2026, 4:40:07 PM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses