CVE-2019-9674
python: Nested zip file (Zip bomb) vulnerability in Lib/zipfile.py
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 11, 2019
Updated · November 22, 2025
Description
A ZIP bomb attack was found in the Python zipfile module. A remote attacker could abuse this flaw by providing a specially crafted ZIP file that, when decompressed by zipfile, would exhaust system resources resulting in a denial of service.
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
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.2CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H
CWE-409 · Improper Handling of Highly Compressed Data (Data Amplification)