python: Nested zip file (Zip bomb) vulnerability in Lib/zipfile.py
Published Feb 4, 2020
7.5
HIGHCVSS 3.1
EPSS 5.54%
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.
Affected products
No data.
Configuration 2
- 12.04
- 14.04
- 16.04
- 18.04
- 20.04
Configuration 3
- n/a
No data.
Red Hat Enterprise Linux 5
python
Will not fix
Red Hat Enterprise Linux 6
python
Will not fix
Red Hat Enterprise Linux 7
python
Will not fix
Red Hat Enterprise Linux 7
python3
Will not fix
Red Hat Enterprise Linux 8
python27:2.7/python2
Will not fix
Red Hat Enterprise Linux 8
python3
Will not fix
Red Hat Enterprise Linux 8
python36:3.6/python36
Will not fix
Red Hat Software Collections
python27-python
Will not fix
Red Hat Software Collections
rh-python36-python
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | python | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | python | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | python | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | python3 | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | python27:2.7/python2 | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | python3 | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | python36:3.6/python36 | Will not fix | n/a |
| Red Hat Software Collections | python27-python | Will not fix | n/a |
| Red Hat Software Collections | rh-python36-python | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
There is no plan to fix this flaw. Programs using the Python zipfile module should be responsible for validating external untrusted ZIP files. For further details, please refer to the following URLs: [1] https://docs.python.org/dev/library/zipfile.html#decompression-pitfalls [2] https://python-security.readthedocs.io/security.html#archives-and-zip-bomb
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 5.54% (0.05535) | 92.58th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.49% (0.05490) | 91.74th | v5 (v2026.06.15) |
| Nov 21, 2025 | 1.13% (0.01131) | 77.70th | v4 (v2025.03.14) |
| Nov 18, 2025 | 5.99% (0.05987) | 89.75th | v4 (v2025.03.14) |
| Mar 30, 2025 | 1.14% (0.01138) | 76.44th | v4 (v2025.03.14) |
| Mar 29, 2025 | 5.23% (0.05230) | 82.89th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.14% (0.01138) | 76.92th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.30% (0.01303) | 86.46th | v3 (v2023.03.01) |
| Jan 11, 2024 | 1.30% (0.01303) | 84.43th | v3 (v2023.03.01) |
| Dec 26, 2023 | 1.14% (0.01142) | 83.13th | v3 (v2023.03.01) |
| Dec 9, 2023 | 1.19% (0.01189) | 83.46th | v3 (v2023.03.01) |
| Nov 24, 2023 | 1.35% (0.01352) | 84.66th | v3 (v2023.03.01) |
| Jul 8, 2023 | 1.14% (0.01135) | 82.75th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.80% (0.00802) | 79.00th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.97% (0.01974) | 78.97th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.97% (0.01974) | 77.12th | v2 (v2022.01.01) |
| Feb 4, 2022 | 26.13% (0.26127) | 95.69th | v2 (v2022.01.01) |
| Feb 3, 2022 | 12.95% (0.12949) | 88.96th | v1 |
| Jan 6, 2022 | 12.95% (0.12949) | 88.83th | v1 |
| Sep 1, 2021 | 3.21% (0.03209) | 81.46th | v1 |
| Apr 14, 2021 | 3.21% (0.03209) | 0.00th | v1 |
References (13)
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00003.html vendor-advisoryx_refsource_SUSEBroken Link
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00041.html vendor-advisoryx_refsource_SUSEBroken Link
- https://access.redhat.com/security/cve/CVE-2019-9674 Vendor Advisory
- https://bugs.python.org/issue36260 x_refsource_MISCIssue TrackingVendor Advisory
- https://bugs.python.org/issue36462 x_refsource_MISCIssue TrackingVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1800749 Issue Tracking
- https://github.com/python/cpython/blob/master/Lib/zipfile.py x_refsource_MISCThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-9674
- https://python-security.readthedocs.io/security.html#archives-and-zip-bomb x_refsource_MISCVendor Advisory
- https://security.netapp.com/advisory/ntap-20200221-0003/ x_refsource_CONFIRMThird Party Advisory
- https://usn.ubuntu.com/4428-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-9674
- https://www.python.org/news/security/ x_refsource_MISCVendor Advisory
Change history (0)
No recorded changes yet.