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

Published Dec 1, 2025
·
Updated

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 Software

1 affected component
Python Software Foundation Python http.client

Event History

Dec 1, 2025
CVE Published
via OSV·06:02 PM
Data Sourced
via OSV·06:02 PM
DescriptionSeverity

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using Python's http.client to read HTTP responses are exposed when they connect to a malicious or untrusted server. The issue affects the client side, because the server controls the Content-Length value used when no read amount is specified.

2

What does an attacker need to do to trigger the denial of service?

An attacker needs to operate or control an HTTP server that the vulnerable client connects to. The server can provide a large Content-Length value, causing the client to read a large amount of response data into memory when no read amount is specified.

3

What is the practical impact?

Excessive response buffering can consume available memory and potentially cause an out-of-memory condition or another denial of service. The available impact information indicates availability effects, not confidentiality or integrity effects.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203