Description
A directory traversal vulnerability in the SevenZipFile.extractall() function of the python library py7zr v0.20.0 and earlier allows attackers to write arbitrary files via extracting a crafted 7z file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | py7zr | 0.11.3+dfsg-5 | — |
| Debian 13 | py7zr | 0.11.3+dfsg-5 | — |
| Debian 12 | py7zr | 0.11.3+dfsg-5 | — |
| Debian 11 | py7zr | 0.11.3+dfsg-1+deb11u1 | DSA-5652-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | py7zr | 0.11.3+dfsg-4ubuntu0.1 | USN-7030-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-py7zr | 0.20.8-2.6 | openSUSE-SU-2025:15101-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
0xless/CVE-2022-44900-demo-lab ★ 1 · Jan 21, 2023
Demo webapp vulnerable to CVE-2022-44900
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | py7zr | < 0.20.1 | 0.20.1 | GHSA-m8xw-9x5x-6vh3 |
Advisories 3
- DSA-5652-1 py7zr - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-7030-1 py7zr vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- openSUSE-SU-2025:15101-1 python311-py7zr-0.20.8-2.6 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026