{"id":"CVE-2026-55206","published":"2026-07-08T20:32:09Z","modified":"2026-07-09T14:26:55Z","title":"py7zr: O(n^2) algorithmic complexity DoS in PackInfo._read()","vendor":"miurahr","product":"py7zr","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00266,"percentile":0.19143,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/miurahr/py7zr/security/advisories/GHSA-h4gh-22qq-72r7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/miurahr/py7zr/commit/d7aa3a197d15c75a65b24f796d3a69f83806d3f8","tags":["x_refsource_MISC"]},{"url":"https://github.com/miurahr/py7zr/releases/tag/v1.1.3","tags":["x_refsource_MISC"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":3.83},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"miurahr","affectedVersions":[{"vendor":"miurahr","product":"py7zr","versions":["< 1.1.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-09T14:26:52.381780Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"py7zr","vulnerableRanges":["<1.1.3"],"patched":["1.1.3"],"from":["GHSA-h4gh-22qq-72r7","PYSEC-2026-2973"],"provenance":"source"}],"summary":{"text":"The py7zr Python library for 7-Zip archive handling, specifically the PackInfo._read() routine in archiveinfo.py, uses an O(n^2) cumulative sum pattern on numstreams values read from archive headers. An attacker who supplies a crafted .7z archive over the network, without authentication or user interaction, can drive excessive CPU consumption during SevenZipFile.init(), before any extraction takes place.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:05Z"},"euvd":{"id":"EUVD-2026-42397","exploited":false,"provenance":"source"}}