6.3medium
Excessive read buffering DoS in http.client
- Severity
- 6.3medium CVSS:4.0 by PSF
- Exploit likelihood
- 1.75% (higher than 78% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- PSF
- Also known as
- PSF-2025-14BIT-LIBPYTHON-2025-13836BIT-PYTHON-2025-13836BIT-PYTHON-MIN-2025-13836
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
| Product or package | Versions | Reported by |
|---|---|---|
| Python Software Foundation CPython | before 3.10.20, from 3.11.0 before 3.11.15, from 3.12.0 before 3.12.13, from 3.13.0 before 3.13.11, from 3.14.0 before 3.14.1, from 3.15.0a1 before 3.15.0a3 | CVE List |
| https://github.com/python/cpython | before 4ce27904b597c77d74dd93f2c912676021a99155, before 5a4c4a033a4a54481be6870aa1896fad732555b5, before 289f29b0fe38baf2d7cb5854f4bb573cc34a6a15, before 14b1fdb0a94b96f86fc7b86671ea9582b8676628, before 5dc101675fd22918facbbe0fecdc821502beaaf0, before afc40bdd3dd71f343fd9016f6d8eebbacbd6587c | Python Software Foundation |
| python python | before 3.10.20, from 3.11.0 before 3.11.15, from 3.12.0 before 3.12.13, from 3.13.0 before 3.13.11, 3.14.0, 3.15.0 | NVD |
| libpython (Bitnami) | before 3.10.20, from 3.11.0 before 3.11.15, from 3.12.0 before 3.12.13, from 3.13.0 before 3.13.11, from 3.14.0 before 3.14.1 | Bitnami Vulnerability Database |
| python (Bitnami) | before 3.10.20, from 3.11.0 before 3.11.15, from 3.12.0 before 3.12.13, from 3.13.0 before 3.13.11, from 3.14.0 before 3.14.1 | Bitnami Vulnerability Database |
| python-min (Bitnami) | before 3.10.20, from 3.11.0 before 3.11.15, from 3.12.0 before 3.12.13, from 3.13.0 before 3.13.11, from 3.14.0 before 3.14.1 | Bitnami Vulnerability Database |
All scores
| PSF | 6.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Al leer una respuesta HTTP de un servidor, si no se especifica una cantidad de lectura, el comportamiento predeterminado será usar Content-Length. Esto permite a un servidor malicioso hacer que el cliente lea grandes cantidades de datos en la memoria, lo que podría causar OOM u otro DoS.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-13836 changed 2026-03-03 | CVE Terms of Use |
| Python Software Foundation | PSF-2025-14 changed 2026-05-11 | CC-BY-4.0 |
| NVD | CVE-2025-13836 changed 2026-09-03 | Public domain |
| Bitnami Vulnerability Database | BIT-LIBPYTHON-2025-13836 changed 2026-09-10 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PYTHON-2025-13836 changed 2026-09-10 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PYTHON-MIN-2025-13836 changed 2026-09-10 | Apache-2.0 |