Vulnerability
CVE-2026-55206
py7zr is a Python-based library and utility to support 7zip archive compression, decompression, encryption and decryption. Prior to 1.1.3, PackInfo._read() in archiveinfo.py used an O(n^2) cumulative sum pattern for attacker-controlled numstreams values parsed from archive headers, allowing a crafted .7z archive to cause excessive CPU consumption during SevenZipFile.init() before extraction. This issue is fixed in version 1.1.3.
6 advisories report this vulnerability, across 4 ecosystems.
Advisories
-
DEBIAN-CVE-2026-55206
py7zr is a Python-based library and utility to support 7zip archive compression, decompression, encryption and decryption. Prior to 1.1.3, PackInfo._read() in archiveinfo.py used an O(n^2) cumulative sum pattern for…
-
GHSA-h4gh-22qq-72r7
py7zr: O(n^2) algorithmic complexity DoS in PackInfo._read()
-
PYSEC-2026-2973
py7zr: O(n^2) algorithmic complexity DoS in PackInfo._read()
-
UBUNTU-CVE-2026-55206
py7zr is a Python-based library and utility to support 7zip archive compression, decompression, encryption and decryption. Prior to 1.1.3, PackInfo._read() in archiveinfo.py used an O(n^2) cumulative sum pattern for…
-
openSUSE-SU-2026:11112-1
python311-py7zr-1.1.3-1.1 on GA media
-
openSUSE-SU-2026:21159-1
Security update for python-py7zr