CVE-2025-13836: Python Software Foundation CPython · Vulnerability
Affects Python Software Foundation CPythonSource CVE Database V5
Not known to be exploited · CVSS 6.3 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 1.6% chance of exploitation in 30 days – higher than 76% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:LExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubpython/cpythonpkg:github/python/cpythonOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a patch is available, users should consider limiting exposure to untrusted HTTP servers or implementing application-level safeguards to restrict memory usage when processing HTTP responses.
Description
CVE-2025-13836 is a medium severity vulnerability in the Python Software Foundation's CPython implementation. When reading HTTP responses without specifying a read amount, the client defaults to using the Content-Length header. A malicious server can exploit this behavior to cause the client to read excessive data into memory, potentially leading to out-of-memory (OOM) conditions or denial of service (DoS). This affects multiple CPython versions from 0 through 3.15.0a1. There are no known exploits in the wild and no patch or official remediation information is currently available.
References
- github.com/python/cpython/issues/119451 (opens in a new tab)
- github.com/python/cpython/pull/119454 (opens in a new tab)
- github.com/python/cpython/commit/4ce27904b597c77d74dd93f2c912676021a99155 (opens in a new tab)
- github.com/python/cpython/commit/5a4c4a033a4a54481be6870aa1896fad732555b5 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/OQ6G7MKRQIS3OAREC3HNG3D2DPOU34XO/ (opens in a new tab)
- github.com/python/cpython/commit/289f29b0fe38baf2d7cb5854f4bb573cc34a6a15 (opens in a new tab)
- github.com/python/cpython/commit/14b1fdb0a94b96f86fc7b86671ea9582b8676628 (opens in a new tab)
- github.com/python/cpython/commit/5dc101675fd22918facbbe0fecdc821502beaaf0 (opens in a new tab)
- github.com/python/cpython/commit/afc40bdd3dd71f343fd9016f6d8eebbacbd6587c (opens in a new tab)