Description
Lib/zipfile.py in Python through 3.7.2 allows remote attackers to cause a denial of service (resource consumption) via a ZIP bomb.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | python2.7 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | python3.10 | 3.10.12-1~22.04.4 | USN-6891-1 |
| Ubuntu 20.04 LTS | python2.7 | 2.7.18-1~20.04.1 | USN-4754-3 |
| Ubuntu 20.04 LTS | python3.8 | 3.8.2-1ubuntu1.2 | USN-6891-1, USN-4428-1 |
| Ubuntu 18.04 LTS | python2.7 | 2.7.17-1~18.04ubuntu1.1 | USN-4428-1 |
| Ubuntu 18.04 LTS | python3.6 | 3.6.9-1~18.04ubuntu1.1 | USN-4428-1 |
| Ubuntu 18.04 LTS | python3.7 | 3.7.5-2~18.04.4 | USN-4754-3 |
| Ubuntu 18.04 LTS | python3.8 | 3.8.0-3~18.04.1 | USN-4754-3 |
| Ubuntu 16.04 LTS | python2.7 | 2.7.12-1ubuntu0~16.04.12 | USN-4428-1 |
| Ubuntu 16.04 LTS | python3.5 | 3.5.2-2ubuntu0~16.04.11 | USN-4428-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | python2.7 | 2.7.18-13ubuntu1.5+esm3 | USN-7212-1 |
| Ubuntu Pro 22.04 LTS | python3.11 | 3.11.0~rc1-1~22.04.1~esm1 | USN-6891-1 |
| Ubuntu Pro 20.04 LTS | python2.7 | 2.7.18-1~20.04.7+esm4 | USN-7212-1 |
| Ubuntu Pro 20.04 LTS | python3.9 | 3.9.5-3ubuntu0~20.04.1+esm2 | USN-6891-1 |
| Ubuntu Pro 18.04 LTS | python3.6 | 3.6.9-1~18.04ubuntu1.13+esm2 | USN-6891-1 |
| Ubuntu Pro 18.04 LTS | python3.7 | 3.7.5-2ubuntu1~18.04.2+esm3 | USN-6891-1 |
| Ubuntu Pro 18.04 LTS | python3.8 | 3.8.0-3ubuntu1~18.04.2+esm2 | USN-6891-1 |
| Ubuntu Pro 16.04 LTS | python3.5 | 3.5.2-2ubuntu0~16.04.13+esm13 | USN-6891-1 |
| Ubuntu Pro 14.04 LTS | python2.7 | 2.7.6-8ubuntu0.6+esm6 | USN-4428-1 |
| Ubuntu Pro 14.04 LTS | python3.4 | 3.4.3-1ubuntu1~14.04.7+esm7 | USN-4428-1 |
| Ubuntu Pro 14.04 LTS | python3.5 | 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1 | USN-6891-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | python +1 | 2.7.17-7.35.1 | SUSE-SU-2020:1339-1, SUSE-SU-2020:0510-1 |
| SLES 15 SP1 | python3 +1 | 3.6.10-3.47.2 | SUSE-SU-2020:0467-1 |
| SLES 12 SP5 | python +2 | 2.7.17-28.42.1 | SUSE-SU-2020:1524-1 |
| SLES 12 SP5 | python-rpm-macros | 20200207.5feb6c1-3.19.1 | SUSE-SU-2020:1524-1 |
| SLES 12 SP5 | python3 +1 | 3.4.10-25.45.1 | SUSE-SU-2020:0854-1 |
| SLES 12 SP5 | python36 +1 | 3.6.10-4.6.1 | SUSE-SU-2020:0557-1 |
| SLES 12 SP5 | shared-python-startup | 0.1-1.3.1 | SUSE-SU-2020:1524-1 |
| SLES 12 SP4 | python +2 | 2.7.17-28.42.1 | SUSE-SU-2020:1524-1 |
| SLES 12 SP4 | python-rpm-macros | 20200207.5feb6c1-3.19.1 | SUSE-SU-2020:1524-1 |
| SLES 12 SP4 | python3 +1 | 3.4.10-25.45.1 | SUSE-SU-2020:0854-1 |
| SLES 12 SP4 | shared-python-startup | 0.1-1.3.1 | SUSE-SU-2020:1524-1 |
| SLES 12 SP3 | python +2 | 2.7.17-28.42.1 | SUSE-SU-2020:1524-1 |
| SLES 12 SP3 | python-rpm-macros | 20200207.5feb6c1-3.19.1 | SUSE-SU-2020:1524-1 |
| SLES 12 SP3 | python3 +1 | 3.4.10-25.45.1 | SUSE-SU-2020:0854-1 |
| SLES 12 SP3 | shared-python-startup | 0.1-1.3.1 | SUSE-SU-2020:1524-1 |
| SLES 12 SP2 | python +2 | 2.7.17-28.42.1 | SUSE-SU-2020:1524-1 |
| SLES 12 SP2 | python-rpm-macros | 20200207.5feb6c1-3.19.1 | SUSE-SU-2020:1524-1 |
| SLES 12 SP2 | python3 +1 | 3.4.10-25.45.1 | SUSE-SU-2020:0854-1 |
| SLES 12 SP2 | shared-python-startup | 0.1-1.3.1 | SUSE-SU-2020:1524-1 |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | python +2 | 2.7.17-28.42.1 | SUSE-SU-2020:1524-1 |
| SLES 12 SP1 | python-rpm-macros | 20200207.5feb6c1-3.19.1 | SUSE-SU-2020:1524-1 |
| SLES 12 SP1 | python3 +1 | 3.4.10-25.45.1 | SUSE-SU-2020:0854-1 |
| SLES 12 SP1 | shared-python-startup | 0.1-1.3.1 | SUSE-SU-2020:1524-1 |
| SLES 12 | python3 +1 | 3.4.10-25.45.1 | SUSE-SU-2020:0854-1 |
| SLES 2 | python +1 | 2.7.17-7.35.1 | SUSE-SU-2020:1339-1, SUSE-SU-2020:0510-1 |
| SLES for SAP 12 SP5 | python +2 | 2.7.17-28.42.1 | SUSE-SU-2020:1524-1 |
| SLES for SAP 12 SP5 | python-rpm-macros | 20200207.5feb6c1-3.19.1 | SUSE-SU-2020:1524-1 |
| SLES for SAP 12 SP5 | python3 +1 | 3.4.10-25.45.1 | SUSE-SU-2020:0854-1 |
| SLES for SAP 12 SP5 | python36 +1 | 3.6.10-4.6.1 | SUSE-SU-2020:0557-1 |
| SLES for SAP 12 SP5 | shared-python-startup | 0.1-1.3.1 | SUSE-SU-2020:1524-1 |
| SLES for SAP 12 SP4 | python +2 | 2.7.17-28.42.1 | SUSE-SU-2020:1524-1 |
| SLES for SAP 12 SP4 | python-rpm-macros | 20200207.5feb6c1-3.19.1 | SUSE-SU-2020:1524-1 |
| SLES for SAP 12 SP4 | python3 +1 | 3.4.10-25.45.1 | SUSE-SU-2020:0854-1 |
| SLES for SAP 12 SP4 | shared-python-startup | 0.1-1.3.1 | SUSE-SU-2020:1524-1 |
| SLES for SAP 12 SP3 | python +2 | 2.7.17-28.42.1 | SUSE-SU-2020:1524-1 |
| SLES for SAP 12 SP3 | python-rpm-macros | 20200207.5feb6c1-3.19.1 | SUSE-SU-2020:1524-1 |
| SLES for SAP 12 SP3 | python3 +1 | 3.4.10-25.45.1 | SUSE-SU-2020:0854-1 |
| SLES for SAP 12 SP3 | shared-python-startup | 0.1-1.3.1 | SUSE-SU-2020:1524-1 |
| SLES for SAP 12 SP2 | python +2 | 2.7.17-28.42.1 | SUSE-SU-2020:1524-1 |
| SLES for SAP 12 SP2 | python-rpm-macros | 20200207.5feb6c1-3.19.1 | SUSE-SU-2020:1524-1 |
| SLES for SAP 12 SP2 | python3 +1 | 3.4.10-25.45.1 | SUSE-SU-2020:0854-1 |
| SLES for SAP 12 SP2 | shared-python-startup | 0.1-1.3.1 | SUSE-SU-2020:1524-1 |
| SLES for SAP 12 SP1 | python +2 | 2.7.17-28.42.1 | SUSE-SU-2020:1524-1 |
| SLES for SAP 12 SP1 | python-rpm-macros | 20200207.5feb6c1-3.19.1 | SUSE-SU-2020:1524-1 |
| SLES for SAP 12 SP1 | python3 +1 | 3.4.10-25.45.1 | SUSE-SU-2020:0854-1 |
| SLES for SAP 12 SP1 | shared-python-startup | 0.1-1.3.1 | SUSE-SU-2020:1524-1 |
| SUSE OpenStack Cloud Crowbar 8 | python +2 | 2.7.17-28.42.1 | SUSE-SU-2020:1524-1 |
| SUSE OpenStack Cloud Crowbar 8 | python-rpm-macros | 20200207.5feb6c1-3.19.1 | SUSE-SU-2020:1524-1 |
| SUSE OpenStack Cloud Crowbar 8 | python3 +1 | 3.4.10-25.45.1 | SUSE-SU-2020:0854-1 |
| SUSE OpenStack Cloud Crowbar 8 | shared-python-startup | 0.1-1.3.1 | SUSE-SU-2020:1524-1 |
| SUSE OpenStack Cloud 8 | python +2 | 2.7.17-28.42.1 | SUSE-SU-2020:1524-1 |
| SUSE OpenStack Cloud 8 | python-rpm-macros | 20200207.5feb6c1-3.19.1 | SUSE-SU-2020:1524-1 |
| SUSE OpenStack Cloud 8 | python3 +1 | 3.4.10-25.45.1 | SUSE-SU-2020:0854-1 |
| SUSE OpenStack Cloud 8 | shared-python-startup | 0.1-1.3.1 | SUSE-SU-2020:1524-1 |
| SUSE OpenStack Cloud 7 | python +2 | 2.7.17-28.42.1 | SUSE-SU-2020:1524-1 |
| SUSE OpenStack Cloud 7 | python-rpm-macros | 20200207.5feb6c1-3.19.1 | SUSE-SU-2020:1524-1 |
| SUSE OpenStack Cloud 7 | python3 +1 | 3.4.10-25.45.1 | SUSE-SU-2020:0854-1 |
| SUSE OpenStack Cloud 7 | shared-python-startup | 0.1-1.3.1 | SUSE-SU-2020:1524-1 |
| SUSE HPE Helion OpenStack 8 | python +2 | 2.7.17-28.42.1 | SUSE-SU-2020:1524-1 |
| SUSE HPE Helion OpenStack 8 | python-rpm-macros | 20200207.5feb6c1-3.19.1 | SUSE-SU-2020:1524-1 |
| SUSE HPE Helion OpenStack 8 | python3 +1 | 3.4.10-25.45.1 | SUSE-SU-2020:0854-1 |
| SUSE HPE Helion OpenStack 8 | shared-python-startup | 0.1-1.3.1 | SUSE-SU-2020:1524-1 |
| SUSE Enterprise Storage 5 | python +2 | 2.7.17-28.42.1 | SUSE-SU-2020:1524-1 |
| SUSE Enterprise Storage 5 | python-rpm-macros | 20200207.5feb6c1-3.19.1 | SUSE-SU-2020:1524-1 |
| SUSE Enterprise Storage 5 | python3 +1 | 3.4.10-25.45.1 | SUSE-SU-2020:0854-1 |
| SUSE Enterprise Storage 5 | shared-python-startup | 0.1-1.3.1 | SUSE-SU-2020:1524-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python | 2.7.18-8.1 | openSUSE-SU-2024:11202-1 |
| openSUSE Tumbleweed | python36 | 3.6.15-1.1 | openSUSE-SU-2024:11284-1 |
| openSUSE Leap 15.1 | python +2 | 2.7.17-lp151.10.17.1 | openSUSE-SU-2020:0696-1 |
| openSUSE Leap 15.1 | python3 +1 | 3.6.10-lp151.6.11.1 | openSUSE-SU-2020:0274-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | python2 | 2.7.18-8 | — |
Advisories 17
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- USN-4428-1 python2.7, python3.4, python3.5, python3.6, python3.8 vulnerabilities Ubuntu Security Notices (USN) · Oct 8, 2026
- USN-6891-1 python3.5, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12 vulnerabilities Ubuntu Security Notices (USN) · Oct 8, 2026
- USN-4754-3 python2.7, python3.7, python3.8 vulnerabilities Ubuntu Security Notices (USN) · Oct 8, 2026
- USN-7212-1 python2.7 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2020:0696-1 Security update for python SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:0510-1 Security update for python SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:1524-1 Security update for python SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:0467-1 Security update for python3 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:1339-1 Security update for python SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:0854-1 Security update for python3 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0274-1 Security update for python3 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:0557-1 Security update for python36 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11284-1 python36-3.6.15-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- openSUSE-SU-2024:11202-1 python-2.7.18-8.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- NCSC-2024-0339 Kwetsbaarheden verholpen in Microsoft Mariner NCSC-NL (Netherlands) · Aug 13, 2024
References
- https://www.python.org/news/security/
- https://github.com/python/cpython/blob/master/Lib/zipfile.py
- https://bugs.python.org/issue36462
- https://bugs.python.org/issue36260
- https://python-security.readthedocs.io/security.html#archives-and-zip-bomb
- https://security.netapp.com/advisory/ntap-20200221-0003/
- openSUSE-SU-2020:0274 vendor-advisory
- openSUSE-SU-2020:0696 vendor-advisory
- USN-4428-1 vendor-advisory