What’s Vulnerable › Vulnerabilities

CVE-2025-13836: Excessive read buffering DoS in http.client

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.

Affected products

How to fix

Upgrade to a fixed version: Python 3.10.20, 3.11.15, 3.12.13, 3.13.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-13836 or the next vulnerability affects your stack