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…
EPSS 0.2%top 89%

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

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.

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/16/2026, 10:05:00 UTC

Technical Analysis

The vulnerability in py7zr arises from an O(n^2) cumulative sum pattern in the PackInfo._read() method within archiveinfo.py. When parsing the numstreams value from a 7zip archive header, an attacker can craft a .7z file that triggers excessive CPU usage during the SevenZipFile.init() process before extraction. This inefficient algorithmic complexity can degrade performance or cause denial of service. The problem is resolved in py7zr version 1.1.3.

Potential Impact

An attacker can supply a specially crafted 7zip archive that causes the py7zr library to consume excessive CPU resources during archive initialization. This can lead to denial of service conditions in applications using vulnerable versions of py7zr, impacting availability. There is no indication of privilege escalation, data disclosure, or code execution from the provided data.

Mitigation Recommendations

Upgrade py7zr to version 1.1.3 or later, where the inefficient algorithmic complexity issue in PackInfo._read() is fixed. No other mitigation or temporary workaround is indicated. Patch status is not explicitly stated as 'official-fix' or 'patchAvailable' but the description confirms the issue is fixed in 1.1.3.

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/16/2026, 10:05:00 UTC

Last updated: 08/22/2026, 22:52:14 UTC

Views: 74

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