Impact
py7zr is a Python-based library and utility to support 7zip archive compression, decompression, encryption and decryption. Prior to 1.1.3, py7zr's Worker.decompress() extracted archive entries without tracking total decompressed size, allowing a crafted .7z file such as a 15.6 KB archive that expands to 100 MB to exhaust disk or memory before extraction completes. This issue is fixed in version 1.1.3. The flaw represents an uncontrolled resource consumption weakness (CWE-409).
Affected Systems
The vulnerability affects the Python library py7zr from the miurahr project. All releases prior to version 1.1.3 are impacted; versions 1.1.3 and later include the fix.
Risk and Exploitability
With a CVSS score of 8.7 the issue carries high severity. The EPSS score of < 1% indicates a very low exploitation probability, and because the vulnerability is not listed in CISA’s KEV catalog, the attack vector is inferred to be any component that unconditionally extracts user‑supplied .7z files, such as web applications, file upload services, or backup utilities. If an attacker can provide a crafted archive, they can overwhelm the target’s storage or memory, leading to service disruption.
OpenCVE Enrichment
Github GHSA