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…
EPSS 0.0%top 95%

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

CVE-2026-5713 is a medium severity stack-based buffer overflow vulnerability in the Python Software Foundation's CPython implementation affecting version 3. 14. 0. It involves the profiling. sampling module (3. 15+) and asyncio introspection features (3. 14+) that can be exploited via the remote debugging feature. An attacker controlling a malicious Python process can repeatedly connect to a privileged process to read and write memory addresses, potentially leading to memory corruption. Exploitation requires persistent and repeated connections and is complicated by ASLR and frequent crashes of the attacking process. No official patch or remediation guidance is currently available.

CVSS v4.0

Score 5.3medium

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
High
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 06:43:34 UTC

Technical Analysis

This vulnerability in CPython 3.14.0 and later affects the profiling.sampling module and asyncio introspection capabilities used with remote debugging. It allows a local attacker with high privileges to repeatedly connect to a privileged Python process and perform out-of-bounds memory reads and writes due to a stack-based buffer overflow (CWE-121) and related memory access issues (CWE-125). The attack requires persistent connection attempts and is mitigated somewhat by address space layout randomization (ASLR) and instability of the attacking process. No vendor advisory or patch has been published yet.

Potential Impact

Successful exploitation could allow a local attacker with high privileges to read and write memory addresses in a privileged Python process, potentially leading to memory corruption or privilege escalation. However, exploitation is difficult due to the need for repeated connections and the likelihood of crashing the attacking process. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the Python Software Foundation advisory for current remediation guidance. Until a fix is available, avoid enabling or exposing the remote debugging feature in privileged Python processes, and limit access to trusted users only.

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/22/2026, 6:43:34 AM

Last updated: 5/28/2026, 6:43:57 AM

Views: 122

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