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

- Severity: Medium 6.3 (CVSS:4.0, scored by PSF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.75%, higher than 78% of CVEs (2026-12-01)
- Published: 2025-12-01T18:02:38.483Z
- Modified: 2026-09-10T16:01:48.317Z
- Also known as: PSF-2025-14, BIT-LIBPYTHON-2025-13836, BIT-PYTHON-2025-13836, BIT-PYTHON-MIN-2025-13836
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: PSF

## 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.

(As written by CVE List.)

## Affected

- 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
- https://github.com/python/cpython: before 4ce27904b597c77d74dd93f2c912676021a99155; before 5a4c4a033a4a54481be6870aa1896fad732555b5; before 289f29b0fe38baf2d7cb5854f4bb573cc34a6a15; before 14b1fdb0a94b96f86fc7b86671ea9582b8676628; before 5dc101675fd22918facbbe0fecdc821502beaaf0; before afc40bdd3dd71f343fd9016f6d8eebbacbd6587c
- 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
- 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
- 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
- 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

## Every score

- PSF: CVSS:4.0 6.3 Medium `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/python/cpython/issues/119451> (fix, issue-tracking, patch, report)
- <https://github.com/python/cpython/pull/119454> (fix, issue-tracking, patch, web)
- <https://github.com/python/cpython/commit/4ce27904b597c77d74dd93f2c912676021a99155> (fix, patch)
- <https://github.com/python/cpython/commit/5a4c4a033a4a54481be6870aa1896fad732555b5> (fix, patch)
- <https://mail.python.org/archives/list/security-announce@python.org/thread/OQ6G7MKRQIS3OAREC3HNG3D2DPOU34XO/> (advisory, vendor-advisory)
- <https://github.com/python/cpython/commit/289f29b0fe38baf2d7cb5854f4bb573cc34a6a15> (fix, patch)
- <https://github.com/python/cpython/commit/14b1fdb0a94b96f86fc7b86671ea9582b8676628> (fix, patch)
- <https://github.com/python/cpython/commit/5dc101675fd22918facbbe0fecdc821502beaaf0> (fix, patch)
- <https://github.com/python/cpython/commit/afc40bdd3dd71f343fd9016f6d8eebbacbd6587c> (fix, patch)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-13836> (web)

## Sources

- CVE List: [CVE-2025-13836](https://www.cve.org/CVERecord?id=CVE-2025-13836), CVE Terms of Use, modified 2026-03-03
- Python Software Foundation: [PSF-2025-14](https://osv.dev/vulnerability/PSF-2025-14), CC-BY-4.0, modified 2026-05-11
- NVD: [CVE-2025-13836](https://nvd.nist.gov/vuln/detail/CVE-2025-13836), Public domain, modified 2026-09-03
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2025-13836](https://osv.dev/vulnerability/BIT-LIBPYTHON-2025-13836), Apache-2.0, modified 2026-09-10
- Bitnami Vulnerability Database: [BIT-PYTHON-2025-13836](https://osv.dev/vulnerability/BIT-PYTHON-2025-13836), Apache-2.0, modified 2026-09-10
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2025-13836](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2025-13836), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2025-13836 · Whole record: https://cve.day/CVE-2025-13836.json · Rebuilt by cve.day 2026-11-25T22:59:08.133Z
