CVE-2026-55206 json
py7zr: O(n^2) algorithmic complexity DoS in PackInfo._read()
published 2026-06-19 4 mo ago modified 2026-10-25 14 d ago also EUVD-2026-42397 , GHSA-h4gh-22qq-72r7 , PYSEC-2026-2973
- cvss
- 8.7
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 18%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi py7zr 1.1.3
- py7zr_project py7zr 1.1.3
- py7zr Debian 14 1.1.3+dfsg-1
debian advisories DEBIAN-CVE-2026-55206
- python-py7zr openSUSE Leap 16.0 1.0.0-bp160.2.1
- python-py7zr openSUSE Tumbleweed 1.1.3-1.1
opensuse advisories openSUSE-SU-2026:21159-1openSUSE-SU-2026:11112-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-55206 updated cvss 6.5
py7zr: py7zr: Denial of Service via crafted .7z archives due to inefficient algorithmic complexity
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/miurahr/py7zr/security/advisories/GHSA-h4gh-22qq-72r7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | 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 |
| CNA | 4.0 | 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | py7zr | <1.1.3 |
1.1.3 |
Affected products
- miurahr py7zr
Classification
- Weakness
-
- CWE-407 Inefficient Algorithmic Complexity
References
- github.com /miurahr/py7zr/commit/d7aa3a197d15c75a65b24f796d3a69f83806d3f8
-
github.com
/miurahr/py7zr/security/advisories/GHSA-h4gh-22qq-72r7
exploit, web
-
github.com
/miurahr/py7zr/releases/tag/v1.1.3
web
-
github.com
/miurahr/py7zr
package
-
pypi.org
/project/py7zr
package
-
github.com
/advisories/GHSA-h4gh-22qq-72r7
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-55206
advisory
Sources
- CVE List CVE-2026-55206
- GitHub Advisory GHSA-h4gh-22qq-72r7
- NVD CVE-2026-55206
- OSV PYSEC-2026-2973
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.