Skip to main content
← All vulnerabilities
CVE-2026-55206PYSEC-2026-2973GHSA-H4GH-22QQ-72R7

py7zr: O(n^2) algorithmic complexity DoS in PackInfo._read()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.1.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • miurahr py7zr

    fixed in 1.1.3

  • py7zrPyPI

    fixed in 1.1.3

References 3

GitHub · miurahr/py7zr