Description
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.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-409 — CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| miurahr | py7zr | < 1.1.3 |
References
- https://github.com/miurahr/py7zr/security/advisories/GHSA-gjrg-mpp7-g774 (x_refsource_CONFIRM)
- https://github.com/miurahr/py7zr/commit/28faf107b64374fa5a02bfb93aa2024e281ca97b (x_refsource_MISC)
- https://github.com/miurahr/py7zr/releases/tag/v1.1.3 (x_refsource_MISC)
Generated from the official CVE List on 09 Jul 2026 07:08 UTC.