Vulnerability · Published Dec 1, 2025 · Assigned by PSF

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

Medium 6.3

In plain English

A medium-severity uncontrolled resource consumption in CPython from Python Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.3Medium
Exploit odds (30 days)1.7%top 22.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10python-unversioned-command3.12.12-3.el10_1ALSA-2026:1828
AlmaLinux:8python3.113.11.13-4.el8_10ALSA-2026:1374
AlmaLinux:9python3.113.11.13-5.el9_7ALSA-2026:1410
AlmaLinux:8python3.11-debug3.11.13-4.el8_10ALSA-2026:1374
AlmaLinux:9python3.11-debug3.11.13-5.el9_7ALSA-2026:1410
AlmaLinux:8python3.11-devel3.11.13-4.el8_10ALSA-2026:1374
AlmaLinux:9python3.11-devel3.11.13-5.el9_7ALSA-2026:1410
AlmaLinux:8python3.11-idle3.11.13-4.el8_10ALSA-2026:1374
AlmaLinux:9python3.11-idle3.11.13-5.el9_7ALSA-2026:1410
AlmaLinux:8python3.11-libs3.11.13-4.el8_10ALSA-2026:1374
AlmaLinux:9python3.11-libs3.11.13-5.el9_7ALSA-2026:1410
AlmaLinux:8python3.11-rpm-macros3.11.13-4.el8_10ALSA-2026:1374
AlmaLinux:8python3.11-test3.11.13-4.el8_10ALSA-2026:1374
AlmaLinux:9python3.11-test3.11.13-5.el9_7ALSA-2026:1410
AlmaLinux:8python3.11-tkinter3.11.13-4.el8_10ALSA-2026:1374
AlmaLinux:9python3.11-tkinter3.11.13-5.el9_7ALSA-2026:1410
AlmaLinux:8python3.123.12.12-2.el8_10ALSA-2026:2419
AlmaLinux:9python3.123.12.12-4.el9_7ALSA-2026:1408
AlmaLinux:8python3.12-debug3.12.12-2.el8_10ALSA-2026:2419
AlmaLinux:9python3.12-debug3.12.12-4.el9_7ALSA-2026:1408
AlmaLinux:8python3.12-devel3.12.12-2.el8_10ALSA-2026:2419
AlmaLinux:9python3.12-devel3.12.12-4.el9_7ALSA-2026:1408
AlmaLinux:8python3.12-idle3.12.12-2.el8_10ALSA-2026:2419
AlmaLinux:9python3.12-idle3.12.12-4.el9_7ALSA-2026:1408
AlmaLinux:8python3.12-libs3.12.12-2.el8_10ALSA-2026:2419
AlmaLinux:9python3.12-libs3.12.12-4.el9_7ALSA-2026:1408
AlmaLinux:8python3.12-rpm-macros3.12.12-2.el8_10ALSA-2026:2419
AlmaLinux:8python3.12-test3.12.12-2.el8_10ALSA-2026:2419
AlmaLinux:9python3.12-test3.12.12-4.el9_7ALSA-2026:1408
AlmaLinux:8python3.12-tkinter3.12.12-2.el8_10ALSA-2026:2419
AlmaLinux:9python3.12-tkinter3.12.12-4.el9_7ALSA-2026:1408
Debian:12pypy3no fix listedDEBIAN-CVE-2025-13836
Debian:13pypy3no fix listedDEBIAN-CVE-2025-13836
Debian:14pypy37.3.21+dfsg-1DEBIAN-CVE-2025-13836
Debian:12python3.113.11.2-6+deb12u7DEBIAN-CVE-2025-13836
Debian:13python3.133.13.5-2+deb13u1DEBIAN-CVE-2025-13836
Debian:14python3.143.14.2-1DEBIAN-CVE-2025-13836
Rocky Linux:8python3.110:3.11.13-4.el8_10RLSA-2026:1374
Rocky Linux:9python3.110:3.11.13-5.el9_7RLSA-2026:1410
Rocky Linux:10python3.120:3.12.12-3.el10_1RLSA-2026:1828
Rocky Linux:8python3.120:3.12.12-2.el8_10RLSA-2026:2419
Rocky Linux:9python3.120:3.12.12-4.el9_7RLSA-2026:1408
Ubuntu:22.04:LTSpython3.103.10.12-1~22.04.13USN-7951-1
Ubuntu:22.04:LTSpython3.103.10.12-1~22.04.13UBUNTU-CVE-2025-13836
Ubuntu:24.04:LTSpython3.123.12.3-1ubuntu0.10UBUNTU-CVE-2025-13836
Ubuntu:24.04:LTSpython3.123.12.3-1ubuntu0.10USN-7951-1
Ubuntu:25.10python3.133.13.7-1ubuntu0.2UBUNTU-CVE-2025-13836
Ubuntu:25.10python3.133.13.7-1ubuntu0.2USN-7951-1
Ubuntu:25.10python3.143.14.0-1ubuntu0.1UBUNTU-CVE-2025-13836
Ubuntu:25.10python3.143.14.0-1ubuntu0.1USN-7951-1

Affected products (as reported)

VendorProductVersions
Python Software Foundation CPython 0 – before 3.10.203.11.0 – before 3.11.153.12.0 – before 3.12.133.13.0 – before 3.13.113.14.0 – before 3.14.13.15.0a1 – before 3.15.0a3

Weakness: CWE-400 · Vector: 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

References