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

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-19T21:16:33.000Z
- Modified: 2026-10-25T17:10:00.197Z
- Also known as: GHSA-h4gh-22qq-72r7, PYSEC-2026-2973
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- miurahr py7zr: < 1.1.3
- py7zr (PyPI): before 1.1.3

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/miurahr/py7zr/security/advisories/GHSA-h4gh-22qq-72r7> (exploit, web)
- <https://github.com/miurahr/py7zr/commit/d7aa3a197d15c75a65b24f796d3a69f83806d3f8>
- <https://github.com/miurahr/py7zr/releases/tag/v1.1.3> (web)
- <https://github.com/miurahr/py7zr> (package)
- <https://pypi.org/project/py7zr> (package)
- <https://github.com/advisories/GHSA-h4gh-22qq-72r7> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55206> (advisory)

## Sources

- CVE List: [CVE-2026-55206](https://www.cve.org/CVERecord?id=CVE-2026-55206), CVE Terms of Use, modified 2026-07-09
- GitHub Advisory Database: [GHSA-h4gh-22qq-72r7](https://github.com/advisories/GHSA-h4gh-22qq-72r7), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-55206](https://nvd.nist.gov/vuln/detail/CVE-2026-55206), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-2973](https://osv.dev/vulnerability/PYSEC-2026-2973), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-55206 · Whole record: https://cve.day/CVE-2026-55206.json · Rebuilt by cve.day 2026-11-25T22:59:27.440Z
