CPython Flaws Expose Proxy Header Injection and Remote Debug Memory Corruption
CPython disclosed two medium-severity vulnerabilities affecting distinct parts of the runtime and tooling. CVE-2026-1502 allows CR/LF bytes to pass through HTTP client proxy tunnel header or host handling, creating a header-injection risk in proxy tunnel scenarios. The issue was published through Python security channels and the oss-sec mailing list, with remediation details tracked in the CVE record and an associated CPython pull request.
A second flaw, CVE-2026-5713, affects CPython remote debugging and introspection features and can trigger out-of-bounds read and write behavior when a privileged Python process connects to a malicious or compromised Python target. The bug impacts newer capabilities including profiling.sampling in Python 3.15+ and asyncio inspection commands such as ```
python -m asyncio ps
python -m asyncio pstree

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
2 events from the most recent confirmed update back to the earliest known activity.
CPython remote debugging memory corruption flaw disclosed as CVE-2026-5713
A medium-severity CPython vulnerability, CVE-2026-5713, was publicly disclosed affecting remote debugging-related functionality, where connecting from a privileged Python process to a malicious target could trigger out-of-bounds read and write access. The issue was reported as affecting newer features in Python 3.14+ and 3.15+, including asyncio introspection tools and profiling.sampling, with public references to the CVE record and a CPython GitHub pull request.
CPython CR/LF proxy tunnel header flaw disclosed as CVE-2026-1502
A medium-severity CPython vulnerability, CVE-2026-1502, was publicly disclosed involving improper validation of CR/LF bytes in HTTP client proxy tunnel headers or host values, creating a header-injection-style risk in proxy tunnel handling. The disclosure referenced the CVE record and an associated CPython pull request for affected versions and remediation details.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
2 references tracked. Mallory keeps watching after this page renders.
oss-sec: [oss-security][CVE-2026-5713] CPython: Out-of-bounds read/write during remote debugging when connecting to malicious target
seclists.org
Open sourceoss-sec: CPython [CVE-2026-1502] HTTP client proxy tunnel headers not validated for CR/LF
seclists.org
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


