PT-2026-51097 · Pypi · Py7Zr

CVE-2026-55195

·

Published

2026-06-19

·

Updated

2026-07-13

CVSS v4.0

8.7

High

VectorAV: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
Name of the Vulnerable Software and Affected Versions py7zr versions prior to 0.22.1
Description The Worker.decompress() function in py7zr/worker.py extracts archive entries without tracking the total decompressed size. This allows a specially crafted .7z file to cause disk or memory exhaustion before extraction completes, a scenario often referred to as a decompression bomb. The issue occurs because decompressed data is written directly to disk without a running total or a configurable size limit.
Recommendations Update to a version where the Worker.decompress() function tracks cumulative decompressed bytes and implements a size limit to prevent resource exhaustion.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-55195
GHSA-GJRG-MPP7-G774
OPENSUSE-SU-2026:11112-1
OPENSUSE-SU-2026:21159-1
PYSEC-2026-2972

Affected Products

Py7Zr