Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
endpoint-software-vulnerabilityopen-source-dependency-vulnerabilitywidely-deployed-product-advisory

CPython Flaws Expose Proxy Header Injection and Remote Debug Memory Corruption

Updated 2mo agoFirst seen Apr 11, 20262 sources

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

Share:
CPython Flaws Expose Proxy Header Injection and Remote Debug Memory Corruption
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

2 events from the most recent confirmed update back to the earliest known activity.

2 EVENTS
Apr 15, 20262mo ago

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.

Apr 10, 20263mo ago

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.

LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

3 LINKEDOpen in app
Affected products
1 linked
Cpython
Organizations
1 linked
Oracle
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.