Ubuntu Security Notice
USN-7951-1
python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14 vulnerability
Details
It was discovered that Python's http.client did not properly handle the Content-Length header in HTTP responses. A malicious server could exploit this to cause Python to allocate excessive memory, leading to a denial of service.
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) |