CVE-2025-13836
Medium
Description
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.
SeverityMedium
CVSS6.3
Exploit probability78. percentile1.7%
Product
Python
PublishedDec 1, 2025
First seenDec 1, 2025
Weakness typeCWE-400Uncontrolled resource consumption
How to fix
Update
- python python3.10.20, 3.11.15, 3.12.13, 3.13.11 or later
Patches
- github.com/python/cpython/pull/119454
- github.com/python/cpython/commit/4ce27904b597c77d74dd93f2c912676021a99155
- github.com/python/cpython/commit/5a4c4a033a4a54481be6870aa1896fad732555b5
- github.com/python/cpython/commit/289f29b0fe38baf2d7cb5854f4bb573cc34a6a15
- github.com/python/cpython/commit/14b1fdb0a94b96f86fc7b86671ea9582b8676628
- github.com/python/cpython/commit/5dc101675fd22918facbbe0fecdc821502beaaf0
- github.com/python/cpython/commit/afc40bdd3dd71f343fd9016f6d8eebbacbd6587c
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| python python | v < 3.10.20, 3.11.0 ≤ v < 3.11.15, 3.12.0 ≤ v < 3.12.13, 3.13.0 ≤ v < 3.13.11, 3.14.0, 3.15.0 | 3.10.20, 3.11.15, 3.12.13, 3.13.11 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.