Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-55206: CWE-407: Inefficient Algorithmic Complexity in miurahr py7zr

0
High
VulnerabilityCVE-2026-55206cvecve-2026-55206cwe-407
Published: 07/08/2026 (07/08/2026, 20:32:09 UTC)
Source: CVE Database V5
Vendor/Project: miurahr
Product: py7zr

Description

CVE-2026-55206 is a high-severity vulnerability in the py7zr Python library prior to version 1.1.3. The issue involves an inefficient algorithmic complexity (CWE-407) in the PackInfo._read() function, which uses an O(n^2) cumulative sum pattern on attacker-controlled input. This can cause excessive CPU consumption when processing a crafted .7z archive during initialization before extraction. The vulnerability is fixed in py7zr version 1.1.3.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

py7zr
pkg:pypi/py7zr
Affected versions
<1.1.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/08/2026, 20:58:37 UTC

Technical Analysis

The py7zr library, used for handling 7zip archives in Python, contained an inefficient algorithmic implementation in the PackInfo._read() method within archiveinfo.py. Specifically, the method used an O(n^2) cumulative sum pattern on the numstreams value parsed from archive headers, which can be controlled by an attacker via a crafted .7z archive. This leads to excessive CPU usage during the SevenZipFile.init() process before extraction, potentially causing a denial of service due to resource exhaustion. The issue is addressed by updating to py7zr version 1.1.3, where the inefficient algorithmic pattern is corrected.

Potential Impact

An attacker can craft a malicious .7z archive that triggers excessive CPU consumption during archive initialization in vulnerable versions of py7zr. This can lead to denial of service conditions by exhausting processing resources. There is no indication of privilege escalation, data corruption, or code execution from the provided data.

Mitigation Recommendations

Upgrade py7zr to version 1.1.3 or later, where this inefficient algorithmic complexity issue is fixed. No other mitigation or temporary workaround is indicated in the available data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-16T16:16:32.627Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4eb690c9d9e3dbe3b68734

Added to database: 07/08/2026, 20:44:00 UTC

Last enriched: 07/08/2026, 20:58:37 UTC

Last updated: 07/08/2026, 20:58:37 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses