Ubuntu CVE Tracker
UBUNTU-CVE-2025-13836
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:18.04:LTS | python3.8 | All versions before 3.8.0-3ubuntu1~18.04.2+esm8 (fixed in 3.8.0-3ubuntu1~18.04.2+esm8) |
| Ubuntu:Pro:20.04:LTS | python3.8 | All versions before 3.8.10-0ubuntu1~20.04.18+esm4 (fixed in 3.8.10-0ubuntu1~20.04.18+esm4) |
| Ubuntu:Pro:20.04:LTS | python3.9 | All versions before 3.9.5-3ubuntu0~20.04.1+esm8 (fixed in 3.9.5-3ubuntu0~20.04.1+esm8) |
| Ubuntu:22.04:LTS | python3.10 | All versions before 3.10.12-1~22.04.13 (fixed in 3.10.12-1~22.04.13) |
| Ubuntu:Pro:22.04:LTS | python3.11 | All versions before 3.11.0~rc1-1~22.04.1~esm7 (fixed in 3.11.0~rc1-1~22.04.1~esm7) |
| Ubuntu:24.04:LTS | python3.12 | All versions before 3.12.3-1ubuntu0.10 (fixed in 3.12.3-1ubuntu0.10) |
| Ubuntu:25.10 | python3.13 | All versions before 3.13.7-1ubuntu0.2 (fixed in 3.13.7-1ubuntu0.2) |
| Ubuntu:25.10 | python3.14 | All versions before 3.14.0-1ubuntu0.1 (fixed in 3.14.0-1ubuntu0.1) |
References
- https://ubuntu.com/security/CVE-2025-13836
- https://www.cve.org/CVERecord?id=CVE-2025-13836
- https://github.com/python/cpython/issues/119451
- https://github.com/python/cpython/pull/119454
- https://github.com/python/cpython/commit/5a4c4a033a4a54481be6870aa1896fad732555b5
- https://github.com/python/cpython/commit/4ce27904b597c77d74dd93f2c912676021a99155
- https://github.com/python/cpython/commit/4ce27904b597c77d74dd93f2c912676021a99155
- https://github.com/python/cpython/commit/5a4c4a033a4a54481be6870aa1896fad732555b5
- https://ubuntu.com/security/notices/USN-7951-1