Vulnerabilities · 2025 · Python
CVE-2025-13836
Python vulnerability
When reading an HTTP response from a server, if no read amount is specified, the default behavior will be to use Content-Length. This allows a malicious server to cause the client to read large amounts of data into memory, potentially causing OOM or other DoS.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Python. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- mail.python.org/archives/list/[email protected]/thread/OQ6G7MKRQIS3OAREC3HNG3D2 · Vendor Advisory
- github.com/python/cpython/commit/14b1fdb0a94b96f86fc7b86671ea9582b8676628 · Patch
- github.com/python/cpython/commit/289f29b0fe38baf2d7cb5854f4bb573cc34a6a15 · Patch
- github.com/python/cpython/commit/4ce27904b597c77d74dd93f2c912676021a99155 · Patch
- github.com/python/cpython/commit/5a4c4a033a4a54481be6870aa1896fad732555b5 · Patch
- github.com/python/cpython/commit/5dc101675fd22918facbbe0fecdc821502beaaf0 · Patch
- github.com/python/cpython/commit/afc40bdd3dd71f343fd9016f6d8eebbacbd6587c · Patch
- github.com/python/cpython/issues/119451 · Patch
- nvd.nist.gov/vuln/detail/CVE-2025-13836
- cve.org/CVERecord?id=CVE-2025-13836
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-50181CVE-2025-48379CVE-2025-47273CVE-2025-13837All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.