Excessive read buffering DoS in http.client
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 21 fixed, 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-400.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Python Software Foundation | CPython | before 3.10.20; 3.11.0 to before 3.11.15; 3.12.0 to before 3.12.13; 3.13.0 to before 3.13.11; 3.14.0 to before 3.14.1; 3.15.0a1 to before 3.15.0a3 | 3.10.20, 3.11.15, 3.12.13, 3.13.11, 3.14.1, 3.15.0a3 | Patch available | CNA |
- CPython VendorPython Software Foundation Affected before 3.10.20; 3.11.0 to before 3.11.15; 3.12.0 to before 3.12.13; 3.13.0 to before 3.13.11; 3.14.0 to before 3.14.1; 3.15.0a1 to before 3.15.0a3 Fixed in 3.10.20, 3.11.15, 3.12.13, 3.13.11, 3.14.1, 3.15.0a3 Patch available CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | before 3.10.20; 3.11.0 to before 3.11.15; 3.12.0 to before 3.12.13; 3.13.0 to before 3.13.11 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.14.0:-:*:*:*:*:*:* | 3.14.0 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:* | 3.15.0 alpha1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.15.0:alpha2:*:*:*:*:*:* | 3.15.0 alpha2 | Vulnerable | python-pillow |
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions before 3.10.20; 3.11.0 to before 3.11.15; 3.12.0 to before 3.12.13; 3.13.0 to before 3.13.11 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.14.0:-:*:*:*:*:*:* Versions 3.14.0 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:* Versions 3.15.0 alpha1 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.15.0:alpha2:*:*:*:*:*:* Versions 3.15.0 alpha2 Vulnerable ·python-pillow
Remediation
- Fix · CNA CPython (Python Software Foundation) Fixed in 3.10.20, 3.11.15, 3.12.13, 3.13.11, 3.14.1, 3.15.0a3
Red Hat 23 advisories
- RHSA-2026:16174 Released 2026-05-12 · Red Hat rating ImportantRed Hat AI Inference Server 3.3.3 (Spyre)
- Red Hat AI Inference Server 3.3 registry.redhat.io/rhaiis/vllm-spyre-rhel9
- RHSA-2026:8824 Released 2026-04-17 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images python3.12-3.12.13-3.hum1@aarch64, python3.12-3.12.13-3.hum1@src, python3.12-3.12.13-3.hum1@x86_64 +12
- RHSA-2026:8822 Released 2026-04-17 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images python3.11-3.11.15-4.hum1@aarch64, python3.11-3.11.15-4.hum1@src, python3.11-3.11.15-4.hum1@x86_64 +12
Show 20 more Red Hat advisories
- RHSA-2026:8748 Released 2026-04-17 · Red Hat rating ImportantRed Hat AI Inference Server Model Optimization Tools 3.3.1 (CUDA)
- Red Hat AI Inference Server 3.3 registry.redhat.io/rhaiis/model-opt-cuda-rhel9
- RHSA-2026:8746 Released 2026-04-17 · Red Hat rating ImportantRed Hat AI Inference Server 3.3.1 (CUDA)
- Red Hat AI Inference Server 3.3 registry.redhat.io/rhaiis/vllm-cuda-rhel9
- RHSA-2026:8747 Released 2026-04-17 · Red Hat rating ImportantRed Hat AI Inference Server 3.3.1 (ROCm)
- Red Hat AI Inference Server 3.3 registry.redhat.io/rhaiis/vllm-rocm-rhel9
- RHSA-2026:7661 Released 2026-04-11 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images python-unversioned-command-3.14.4-1.hum1@noarch@public-hummingbird-aarch64-rpms, python-unversioned-command-3.14.4-1.hum1@noarch@public-hummingbird-x86_64-rpms, python3-3.14.4-1.hum1@aarch64 +28
- RHSA-2026:7443 Released 2026-04-10 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images python3.13-3.13.13-1.hum1@aarch64, python3.13-3.13.13-1.hum1@src, python3.13-3.13.13-1.hum1@x86_64 +16
- RHSA-2026:4943 Released 2026-03-18 · Red Hat rating ImportantRed Hat Update Infrastructure 5.1 security update
- Red Hat Update Infrastructure 5 registry.redhat.io/rhui5/cds-rhel9, registry.redhat.io/rhui5/haproxy-rhel9, registry.redhat.io/rhui5/installer-rhel9 +1
- RHSA-2026:3900 Released 2026-03-05 · Red Hat rating Moderatepython3.12 security update
- Red Hat CodeReady Linux Builder EUS (v.9.6) python3.12-3.12.9-1.el9_6.5, python3.12-debug-3.12.9-1.el9_6.5, python3.12-idle-3.12.9-1.el9_6.5 +2
- Red Hat Enterprise Linux AppStream EUS (v.9.6) python3.12-3.12.9-1.el9_6.5, python3.12-devel-3.12.9-1.el9_6.5, python3.12-libs-3.12.9-1.el9_6.5 +1
- RHSA-2026:3897 Released 2026-03-05 · Red Hat rating Moderatepython3.12 security update
- Red Hat CodeReady Linux Builder EUS (v.9.4) python3.12-3.12.1-4.el9_4.10, python3.12-debug-3.12.1-4.el9_4.10, python3.12-idle-3.12.1-4.el9_4.10 +2
- Red Hat Enterprise Linux AppStream EUS (v.9.4) python3.12-3.12.1-4.el9_4.10, python3.12-devel-3.12.1-4.el9_4.10, python3.12-libs-3.12.1-4.el9_4.10 +1
- RHSA-2026:2563 Released 2026-02-11 · Red Hat rating ImportantRed Hat Update Infrastructure 5 security update
- Red Hat Update Infrastructure 5 registry.redhat.io/rhui5/cds-rhel9, registry.redhat.io/rhui5/haproxy-rhel9, registry.redhat.io/rhui5/installer-rhel9 +1
- RHSA-2026:2419 Released 2026-02-10 · Red Hat rating Moderatepython3.12 security update
- Red Hat Enterprise Linux AppStream (v. 8) python3.12-3.12.12-2.el8_10, python3.12-devel-3.12.12-2.el8_10, python3.12-libs-3.12.12-2.el8_10 +2
- Red Hat Enterprise Linux CRB (v. 8) python3.12-3.12.12-2.el8_10, python3.12-debug-3.12.12-2.el8_10, python3.12-idle-3.12.12-2.el8_10 +2
- RHSA-2026:2233 Released 2026-02-09 · Red Hat rating Moderatepython3.12 security update
- Red Hat Enterprise Linux AppStream EUS (v. 10.0) python-unversioned-command-3.12.9-2.el10_0.6, python3-devel-3.12.9-2.el10_0.6, python3-tkinter-3.12.9-2.el10_0.6
- Red Hat Enterprise Linux BaseOS EUS (v. 10.0) python3-3.12.9-2.el10_0.6, python3-libs-3.12.9-2.el10_0.6, python3.12-3.12.9-2.el10_0.6
- Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) python3-debug-3.12.9-2.el10_0.6, python3-idle-3.12.9-2.el10_0.6, python3-test-3.12.9-2.el10_0.6
- RHSA-2026:2084 Released 2026-02-05 · Red Hat rating Moderatepython3.11 security update
- Red Hat Enterprise Linux AppStream E4S (v.8.8) python3.11-3.11.2-2.el8_8.7, python3.11-devel-3.11.2-2.el8_8.7, python3.11-libs-3.11.2-2.el8_8.7 +2
- Red Hat Enterprise Linux AppStream TUS (v.8.8) python3.11-3.11.2-2.el8_8.7, python3.11-devel-3.11.2-2.el8_8.7, python3.11-libs-3.11.2-2.el8_8.7 +2
- RHSA-2026:1893 Released 2026-02-04 · Red Hat rating Moderatepython3.11 security update
- Red Hat CodeReady Linux Builder EUS (v.9.4) python3.11-3.11.7-1.el9_4.10, python3.11-debug-3.11.7-1.el9_4.10, python3.11-idle-3.11.7-1.el9_4.10 +2
- Red Hat Enterprise Linux AppStream EUS (v.9.4) python3.11-3.11.7-1.el9_4.10, python3.11-devel-3.11.7-1.el9_4.10, python3.11-libs-3.11.7-1.el9_4.10 +1
- RHSA-2026:1892 Released 2026-02-04 · Red Hat rating Moderatepython3.11 security update
- Red Hat CodeReady Linux Builder EUS (v.9.6) python3.11-3.11.11-2.el9_6.4, python3.11-debug-3.11.11-2.el9_6.4, python3.11-idle-3.11.11-2.el9_6.4 +2
- Red Hat Enterprise Linux AppStream EUS (v.9.6) python3.11-3.11.11-2.el9_6.4, python3.11-devel-3.11.11-2.el9_6.4, python3.11-libs-3.11.11-2.el9_6.4 +1
- RHSA-2026:1922 Released 2026-02-04 · Red Hat rating Moderatepython3.11 security update
- Red Hat Enterprise Linux AppStream E4S (v.9.2) python3.11-3.11.2-2.el9_2.9, python3.11-devel-3.11.2-2.el9_2.9, python3.11-libs-3.11.2-2.el9_2.9 +1
- RHSA-2026:1828 Released 2026-02-03 · Red Hat rating Moderatepython3.12 security update
- Red Hat Enterprise Linux AppStream (v. 10) python-unversioned-command-3.12.12-3.el10_1, python3-devel-3.12.12-3.el10_1, python3-tkinter-3.12.12-3.el10_1
- Red Hat Enterprise Linux BaseOS (v. 10) python3-3.12.12-3.el10_1, python3-libs-3.12.12-3.el10_1, python3.12-3.12.12-3.el10_1
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) python3-debug-3.12.12-3.el10_1, python3-idle-3.12.12-3.el10_1, python3-test-3.12.12-3.el10_1
- RHSA-2026:1736 Released 2026-02-02 · Red Hat rating ImportantA Subscription Management tool for finding and reporting Red Hat product usage
- Red Hat Discovery 2 registry.redhat.io/discovery/discovery-server-rhel9, registry.redhat.io/discovery/discovery-ui-rhel9
- RHSA-2026:1410 Released 2026-01-27 · Red Hat rating Moderatepython3.11 security update
- Red Hat Enterprise Linux AppStream (v. 9) python3.11-3.11.13-5.el9_7, python3.11-devel-3.11.13-5.el9_7, python3.11-libs-3.11.13-5.el9_7 +1
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) python3.11-3.11.13-5.el9_7, python3.11-debug-3.11.13-5.el9_7, python3.11-idle-3.11.13-5.el9_7 +2
- RHSA-2026:1408 Released 2026-01-27 · Red Hat rating Moderatepython3.12 security update
- Red Hat Enterprise Linux AppStream (v. 9) python3.12-3.12.12-4.el9_7, python3.12-devel-3.12.12-4.el9_7, python3.12-libs-3.12.12-4.el9_7 +1
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) python3.12-3.12.12-4.el9_7, python3.12-debug-3.12.12-4.el9_7, python3.12-idle-3.12.12-4.el9_7 +2
- RHSA-2026:1374 Released 2026-01-27 · Red Hat rating Moderatepython3.11 security update
- Red Hat Enterprise Linux AppStream (v. 8) python3.11-3.11.13-4.el8_10, python3.11-devel-3.11.13-4.el8_10, python3.11-libs-3.11.13-4.el8_10 +2
- Red Hat Enterprise Linux CRB (v. 8) python3.11-3.11.13-4.el8_10, python3.11-debug-3.11.13-4.el8_10, python3.11-idle-3.11.13-4.el8_10 +2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix planned: Will not fix |
| Red Hat AI Inference Server 3.3 | Fixed | RHSA-2026:16174, RHSA-2026:8746, RHSA-2026:8747, RHSA-2026:8748 |
| Red Hat CodeReady Linux Builder EUS (v.9.4) | Fixed | RHSA-2026:1893, RHSA-2026:3897 |
| Red Hat CodeReady Linux Builder EUS (v.9.6) | Fixed | RHSA-2026:1892, RHSA-2026:3900 |
| Red Hat Discovery 2 | Fixed | RHSA-2026:1736 |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:1828 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2026:1374, RHSA-2026:2419 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:1408, RHSA-2026:1410 |
| Red Hat Enterprise Linux AppStream E4S (v.8.8) | Fixed | RHSA-2026:2084 |
| Red Hat Enterprise Linux AppStream E4S (v.9.2) | Fixed | RHSA-2026:1922 |
| Red Hat Enterprise Linux AppStream EUS (v. 10.0) | Fixed | RHSA-2026:2233 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2026:1893, RHSA-2026:3897 |
| Red Hat Enterprise Linux AppStream EUS (v.9.6) | Fixed | RHSA-2026:1892, RHSA-2026:3900 |
| Red Hat Enterprise Linux AppStream TUS (v.8.8) | Fixed | RHSA-2026:2084 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:1828 |
| Red Hat Enterprise Linux BaseOS EUS (v. 10.0) | Fixed | RHSA-2026:2233 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2026:1374, RHSA-2026:2419 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Fixed | RHSA-2026:1828 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2026:1408, RHSA-2026:1410 |
| Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) | Fixed | RHSA-2026:2233 |
| Red Hat Hardened Images | Fixed | RHSA-2026:7443, RHSA-2026:7661, RHSA-2026:8822, RHSA-2026:8824 |
| Red Hat Update Infrastructure 5 | Fixed | RHSA-2026:2563, RHSA-2026:4943 |
Not affected: 10 products
- Red Hat Discovery 2
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux AI (RHEL AI)
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift Dev Spaces
- Red Hat Update Infrastructure 5
Timeline
- 2026-10-02 Threatist record created from CVE-2025-13836
- 2026-10-03 Alias added: GHSA-399h-rrqc-rpgv
References
Patch 8
- 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://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
More Python Software Foundation vulnerabilities
- TI-2024-07037 Quadratic complexity parsing cookies with backslashes CVSS 3.1HIGH 7.5
- TI-2024-11791 Bypass extraction filter to modify file metadata outside extraction directory CVSS 3.1MEDIUM 5.3
- TI-2024-00411 Quoted zip-bomb protection for zipfile CVSS 3.1MEDIUM 6.2
- TI-2026-13296 `HTTPPasswordMgr` can send saved HTTPS credentials via HTTP because of incorrect scheme matching CVSS 4.0MEDIUM 6.0
- TI-2024-06422 Email header injection due to unquoted newlines CVSS 3.1MEDIUM 5.5
- TI-2026-04606 Possible to hijack modules in current working directory CVSS 4.0MEDIUM 5.6
Sources
- CVE-2025-13836 · CVE Program
- CVE-2025-13836 · NVD
- FIRST EPSS
- GHSA-399h-rrqc-rpgv · GitHub Advisory Database · CC BY 4.0
- CVE-2025-13836 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences