CVE-2025-13836
HIGH7.5EPSS 0.21%Excessive read buffering DoS in http.client
Published: 12/1/2025Modified: 5/16/2026
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 packages (8)
- Bitnami/libpythonfrom 0, < 3.10.20, >= 3.11.0, < 3.11.15, >= 3.12.0, < 3.12.13, >= 3.13.0, < 3.13.11, >= 3.14.0, < 3.14.1
- Bitnami/pythonfrom 0, < 3.10.20, >= 3.11.0, < 3.11.15, >= 3.12.0, < 3.12.13, >= 3.13.0, < 3.13.11, >= 3.14.0, < 3.14.1
- Bitnami/python-minfrom 0, < 3.10.20, >= 3.11.0, < 3.11.15, >= 3.12.0, < 3.12.13, >= 3.13.0, < 3.13.11, >= 3.14.0, < 3.14.1
- Debian/pypy3from 0
- Debian/python3.11from 0, < 3.11.2-6+deb12u7
- Debian/python3.13from 0, < 3.13.5-2+deb13u1
- Debian/python3.14from 0, < 3.14.2-1
- Debian/python3.9from 0, < 3.9.2-1+deb11u4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (11)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-13836
- WEBhttps://github.com/python/cpython/commit/14b1fdb0a94b96f86fc7b86671ea9582b8676628
- WEBhttps://github.com/python/cpython/commit/289f29b0fe38baf2d7cb5854f4bb573cc34a6a15
- WEBhttps://github.com/python/cpython/commit/4ce27904b597c77d74dd93f2c912676021a99155
- WEBhttps://github.com/python/cpython/commit/5a4c4a033a4a54481be6870aa1896fad732555b5
- WEBhttps://github.com/python/cpython/commit/5dc101675fd22918facbbe0fecdc821502beaaf0
- WEBhttps://github.com/python/cpython/commit/afc40bdd3dd71f343fd9016f6d8eebbacbd6587c
- WEBhttps://github.com/python/cpython/issues/119451
- WEBhttps://github.com/python/cpython/pull/119454
- WEBhttps://mail.python.org/archives/list/[email protected]/thread/OQ6G7MKRQIS3OAREC3HNG3D2DPOU34XO/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2025-13836