CVE-2025-13836
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v4.0•MEDIUM•Score: 6.3CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L
- v4.0•MEDIUM•Score: 6.3CVSS: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
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 1.63%• Percentile: 75%
Techniques & Countermeasures
- CWE-125•Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.
- CWE-400•Uncontrolled Resource Consumption
The product does not properly control the allocation and maintenance of a limited resource.
Affected Systems
- chainguard•python-3.10
< 3.10.19-r4
- chainguard•python-3.11
< 3.11.14-r5
- chainguard•python-3.12
< 3.12.12-r4
- chainguard•python-3.13
< 3.13.11-r2
- chainguard•python-3.9
all
- wolfi•python-3.10
< 3.10.19-r4
- wolfi•python-3.11
< 3.11.14-r5
- wolfi•python-3.12
< 3.12.12-r4
- wolfi•python-3.13
< 3.13.11-r2
- debian•pypy3
all | all | < 7.3.21+dfsg-1
- debian•python3.11
< 3.11.2-6+deb12u7
- debian•python3.13
< 3.13.5-2+deb13u1 | < 3.13.11-1
- debian•python3.14
< 3.14.2-1
- debian•python3.9
< 3.9.2-1+deb11u4
- python software foundation•cpython
< 3.13.11 | < 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 | ≥ 3.15.0a1, < 3.15.0a3
- python•python
< 3.13.11 | < 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.15.0:alpha1 | 3.15.0:alpha2
References (13)
- https://github.com/python/cpython/issues/119451
- https://github.com/python/cpython/pull/119454
- https://github.com/python/cpython/commit/4ce27904b597c77d74dd93f2c912676021a99155
- https://github.com/python/cpython/commit/5a4c4a033a4a54481be6870aa1896fad732555b5
- https://mail.python.org/archives/list/security-announce@python.org/thread/OQ6G7MKRQIS3OAREC3HNG3D2DPOU34XO/
- https://github.com/python/cpython/commit/289f29b0fe38baf2d7cb5854f4bb573cc34a6a15
- https://github.com/python/cpython/commit/14b1fdb0a94b96f86fc7b86671ea9582b8676628
- https://github.com/python/cpython/commit/5dc101675fd22918facbbe0fecdc821502beaaf0
- https://github.com/python/cpython/commit/afc40bdd3dd71f343fd9016f6d8eebbacbd6587c
- https://security-tracker.debian.org/tracker/CVE-2025-13836
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/13xxx/CVE-2025-13836.json
- https://nvd.nist.gov/vuln/detail/CVE-2025-13836
- https://github.com/python/cpython