Not available
Medium
py7zr

CVE-2026-55195

CVE-2026-55195 is a medium-severity security vulnerability in py7zr (pip), affecting versions <= 1.1.2. It is fixed in 1.1.3.

Key facts
CVSS score
Not available
Medium
Attack vector
Not available
Issuing authority
GitHub Advisory Database
Affected package
py7zr
Fixed in
1.1.3
Disclosed
2026

Summary

py7zr's Worker.decompress() extracts archive entries without tracking total decompressed size. A crafted .7z file can exhaust disk or memory before the extraction completes. Measured: 15.6 KB archive → 100 MB output (6,556:1 ratio). Proof of concept: Root cause: Worker.decompress() in py7zr/worker.py writes decompressed data directly to disk without a running total or configurable size limit. There is no equivalent of Python's zipfile max_size parameter. Fix: track cumulative decompressed bytes and raise before writing if a limit is exceeded: Tested on py7zr 0.22.0, Python 3.12, Ubuntu 22.04.

Impact

Not available

Affected versions

pip

  • py7zr (<= 1.1.2)

Security releases

  • py7zr → 1.1.3 (pip)
Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.

Kodem's runtime-powered SCA identifies whether CVE-2026-55195 is reachable in your applications. Explore open-source security for your team.

See if CVE-2026-55195 is reachable in your applications. Get a demo

Remediation advice

Upgrade py7zr to 1.1.3 or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently asked questions about CVE-2026-55195

What is CVE-2026-55195?

CVE-2026-55195 is a medium-severity security vulnerability in py7zr (pip), affecting versions <= 1.1.2. It is fixed in 1.1.3.

Which versions of py7zr are affected by CVE-2026-55195?

py7zr (pip) versions <= 1.1.2 is affected.

Is there a fix for CVE-2026-55195?

Yes. CVE-2026-55195 is fixed in 1.1.3. Upgrade to this version or later.

Is CVE-2026-55195 exploitable, and should I be worried?

Whether CVE-2026-55195 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo

What actually determines whether CVE-2026-55195 is exploitable, and how bad it is?

Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.

How do I fix CVE-2026-55195?

Upgrade py7zr to 1.1.3 or later.

Stop the waste.
Protect your environment with Kodem.