CVE-2025-13836

Excessive read buffering DoS in http.client

State
Published
Severity
6.3 Medium
Published
Dec 1, 2025
Updated
Mar 3, 2026
Reserved
Dec 1, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:LPSF

Weaknesses

  • CWE-400 Uncontrolled Resource Consumption

Affected Products

ProductVersions
CPythonPython Software Foundation
  • before 3.10.20Affected
  • 3.11.0 to before 3.11.15Affected
  • 3.12.0 to before 3.12.13Affected
  • 3.13.0 to before 3.13.11Affected
  • 3.14.0 to before 3.14.1Affected
  • 3.15.0a1 to before 3.15.0a3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.