CVE-2026-5713 PUBLISHED

Out-of-bounds read/write during remote profiling and asyncio process introspection when connecting to malicious target

Assigner: PSF
Reserved: 06.04.2026 Published: 14.04.2026 Updated: 14.04.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 5.3

Product Status

Vendor Python Software Foundation
Product CPython
Versions Default: unaffected
  • affected from 3.14.0 to 3.15.0 (excl.)

Credits

  • Nicholas Gould (https://github.com/gouldnicholas) reporter
  • Pablo Galindo Salgado coordinator
  • Pablo Galindo Salgado remediation developer

References

Problem Types

  • CWE-121 Stack-based buffer overflow CWE
  • CWE-125 Out-of-bounds read CWE