Skip to main content
VulnerabilityPublished Updated

CVE-2026-5713: Python Software Foundation CPython · Stack-based Buffer Overflow

Affects Python Software Foundation CPythonSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.3 Medium : upgrade to 3.15.0b1 or 3.14.5 when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.15.0b1, 3.14.5
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade Python Software Foundation CPython to 3.15.0b1 or 3.14.5.

Affected software

ProductAffectedFixed in
Python Software FoundationCPythonAffected
  • >=3.15.0a1 <3.15.0b1
Fixed in
  • 3.15.0b1
Python Software FoundationCPythonAffected
  • <3.14.5
Fixed in
  • 3.14.5
PyPIcpythonpkg:pypi/cpythonOther threatsAffected
  • =3.14.0
  • =3.15.0
Fixed in–
GitHubCPythonpkg:github/CPythonOther threatsAffected
  • <3.14.5
  • >=3.15.0a1 <3.15.0b1
Fixed in
  • 3.14.5
  • 3.15.0b1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, avoid exposing privileged Python processes to untrusted remote debugging connections, and restrict access to debugging features to trusted environments only.

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.

References

Community reviews

Loading reviews…