Ubuntu Security Notice
USN-7570-1
python3.13, python3.12, python3.11, python3.10, python3.9, python3.8, python3.7, python3.6 vulnerabilities
Details
It was discovered that Python incorrectly handled certain unicode characters during decoding. An attacker could possibly use this issue to cause a denial of service. (CVE-2025-4516)
It was discovered that Python incorrectly handled unicode encoding of email headers with list separators in folded lines. An attacker could possibly use this issue to expose sensitive information. (CVE-2025-1795)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:18.04:LTS | python3.6 | All versions before 3.6.9-1~18.04ubuntu1.13+esm5 (fixed in 3.6.9-1~18.04ubuntu1.13+esm5) |
| Ubuntu:Pro:18.04:LTS | python3.7 | All versions before 3.7.5-2ubuntu1~18.04.2+esm6 (fixed in 3.7.5-2ubuntu1~18.04.2+esm6) |
| Ubuntu:Pro:18.04:LTS | python3.8 | All versions before 3.8.0-3ubuntu1~18.04.2+esm5 (fixed in 3.8.0-3ubuntu1~18.04.2+esm5) |
| Ubuntu:Pro:20.04:LTS | python3.8 | All versions before 3.8.10-0ubuntu1~20.04.18+esm1 (fixed in 3.8.10-0ubuntu1~20.04.18+esm1) |
| Ubuntu:Pro:20.04:LTS | python3.9 | All versions before 3.9.5-3ubuntu0~20.04.1+esm5 (fixed in 3.9.5-3ubuntu0~20.04.1+esm5) |
| Ubuntu:22.04:LTS | python3.10 | All versions before 3.10.12-1~22.04.10 (fixed in 3.10.12-1~22.04.10) |
| Ubuntu:Pro:22.04:LTS | python3.11 | All versions before 3.11.0~rc1-1~22.04.1~esm4 (fixed in 3.11.0~rc1-1~22.04.1~esm4) |
| Ubuntu:24.04:LTS | python3.12 | All versions before 3.12.3-1ubuntu0.6 (fixed in 3.12.3-1ubuntu0.6) |