<Vulnerability name="CVE-2026-55195">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Moderate</ThreatSeverity>
    <PublicDate>2026-07-08T20:30:58</PublicDate>
    <Bugzilla id="2498255" url="https://bugzilla.redhat.com/show_bug.cgi?id=2498255" xml:lang="en:us">
py7zr: py7zr: Denial of Service via decompression bomb in 7zip archive extraction
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>6.5</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-409</CWE>
    <Details xml:lang="en:us" source="Mitre">
py7zr is a Python-based library and utility to support 7zip archive compression, decompression, encryption and decryption. Prior to 1.1.3, py7zr's Worker.decompress() extracted archive entries without tracking total decompressed size, allowing a crafted .7z file such as a 15.6 KB archive that expands to 100 MB to exhaust disk or memory before extraction completes. This issue is fixed in version 1.1.3.
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
A flaw was found in py7zr, a Python library for 7zip archive handling. This vulnerability allows a remote attacker to cause a Denial of Service (DoS) by providing a specially crafted .7z file. The `Worker.decompress()` function fails to track the total decompressed size, enabling a small archive to expand significantly and exhaust system resources such as disk space or memory during extraction. This issue is also known as a decompression bomb (CWE-409).
    </Details>
    <Statement xml:lang="en:us">
This Moderate impact flaw in the py7zr Python library can lead to a denial of service when processing specially crafted 7zip archives. An attacker could provide a malicious archive that, upon decompression, exhausts system resources such as disk space or memory, impacting the availability of services that utilize py7zr for archive handling.
    </Statement>
    <Mitigation xml:lang="en:us">
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
    </Mitigation>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-55195
https://nvd.nist.gov/vuln/detail/CVE-2026-55195
https://github.com/miurahr/py7zr/commit/28faf107b64374fa5a02bfb93aa2024e281ca97b
https://github.com/miurahr/py7zr/releases/tag/v1.1.3
https://github.com/miurahr/py7zr/security/advisories/GHSA-gjrg-mpp7-g774
    </References>
</Vulnerability>