Vulnerability · Published Jul 8, 2026 · Assigned by GitHub_M

CVE-2026-55206py7zr: O(n^2) algorithmic complexity DoS in PackInfo._read()

High 8.7

In plain English

A high-severity security flaw in py7zr from miurahr. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.3%top 81.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12py7zrno fix listedDEBIAN-CVE-2026-55206
Debian:13py7zrno fix listedDEBIAN-CVE-2026-55206
Debian:14py7zr1.1.3+dfsg-1DEBIAN-CVE-2026-55206
PyPIpy7zr1.1.3GHSA-h4gh-22qq-72r7
PyPIpy7zr1.1.3PYSEC-2026-2973
Ubuntu:22.04:LTSpy7zrno fix listedUBUNTU-CVE-2026-55206
Ubuntu:24.04:LTSpy7zrno fix listedUBUNTU-CVE-2026-55206
Ubuntu:25.10py7zrno fix listedUBUNTU-CVE-2026-55206
Ubuntu:26.04:LTSpy7zrno fix listedUBUNTU-CVE-2026-55206
Ubuntu:26.10py7zrno fix listedUBUNTU-CVE-2026-55206

Affected products (as reported)

VendorProductVersions
miurahr py7zr < 1.1.3

Weakness: CWE-407 · 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

References