
CVE catalog
CVE-2026-23879
py7zr is a Python-based library and utility to support 7zip archive compression, decompression, encryption and decryption. Versions 1.1.2 and below contain an an arbitrary file write vulnerability, wh
- Severity
- High · CVSS 8
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.57% · Oct 25, 2026
py7zr is a Python-based library and utility to support 7zip archive compression, decompression, encryption and decryption. Versions 1.1.2 and below contain an an arbitrary file write vulnerability, which allows symbolic links to be recreated outside the destination directory via crafted malicious symbolic link chains. When using extractall to extract an archive, the library restores these symbolic links, linking them to arbitrary directories on the host file system. During extraction, the program only checks the link arcname within the destination directory, but ignores the combined symlink path resolution. Attackers can exploit this vulnerability by constructing malicious archives, thereby bypassing the directory boundary restrictions implemented by the extractor. Subsequent extraction of regular files through these symbolic links can result in arbitrary file writes. This vulnerability may lead to remote code execution, privilege escalation, data corruption, or denial of service. This issue has been fixed in version 1.1.3.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | py7zr | sid | 1.1.4+dfsg-1 | fixed |
| Debian | py7zr | forky | 1.1.4+dfsg-1 | fixed |
| Debian | py7zr | trixie | 0.22.0+dfsg-1 | vulnerable |
| Debian | py7zr | bookworm | 0.11.3+dfsg-5 | vulnerable |
| Cpe | py7zr | Not reported | Not reported | vulnerable |
| PyPI | py7zr | Not reported | 1.1.3 | fixed |
| PyPI | py7zr | Not reported | 1.1.3 | fixed |
| Opensuse | python-py7zr | leap 16.0 | 1.0.0-bp160.2.1 | fixed |
| Opensuse | python-py7zr | tumbleweed | 1.1.3-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | py7zr | source | sid | 1.1.2+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | py7zr | source | forky | 1.1.2+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | py7zr | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | py7zr | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| PyPI | py7zr | PyPI | Not reported | 1.1.3 | Not reported | GHSA-Q6RC-2CGV-63H7 | Not reported |
| PyPI | py7zr | PyPI | Not reported | 1.1.3 | Not reported | PYSEC-2026-2974 | Not reported |
| Opensuse | python-py7zr | rpm | leap 16.0 | 1.0.0-bp160.2.1 | Not reported | OPENSUSE-SU-2026:21159-1 | Not reported |
| Opensuse | python-py7zr | rpm | tumbleweed | 1.1.3-1.1 | Not reported | OPENSUSE-SU-2026:11112-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-py7zr]Affected
Source package: [py7zr]
Details (2)
0.11.3+dfsg-5· amd64 · bookwormAffected
nvd · py7zr · debian · bookworm; nvd · py7zr · debian · 12
0.11.3+dfsg-5· arm64 · bookwormAffected
nvd · py7zr · debian · bookworm; nvd · py7zr · debian · 12
- [python-py7zr-doc]Affected
Source package: [py7zr]
Details (2)
0.11.3+dfsg-5· all · bookwormAffected
nvd · py7zr · debian · bookworm; nvd · py7zr · debian · 12
0.11.3+dfsg-5· all · bookwormAffected
nvd · py7zr · debian · bookworm; nvd · py7zr · debian · 12
[Debian 13 (Trixie)]
- [python3-py7zr]Affected
Source package: [py7zr]
Details (4)
0.22.0+dfsg-1· all · trixieAffected
nvd · py7zr · debian · 13
0.22.0+dfsg-1· all · trixieAffected
nvd · py7zr · debian · 13
1.0.0+dfsg1-3~bpo13+1· all · trixie-backportsAffected
nvd · py7zr · debian · 13
1.0.0+dfsg1-3~bpo13+1· all · trixie-backportsAffected
nvd · py7zr · debian · 13
[openSUSE Tumbleweed]
- [python313-py7zr]Unknown
Source package: [python-py7zr]
Details (1)
1.1.3-1.2· noarch · tumbleweedUnknown · Fixed:
1.1.3-1.1Version impact unknown
nvd · python-py7zr · opensuse · tumbleweed
- [python314-py7zr]Unknown
Source package: [python-py7zr]
Details (1)
1.1.3-1.2· noarch · tumbleweedUnknown · Fixed:
1.1.3-1.1Version impact unknown
nvd · python-py7zr · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11112-1.json]
- [https://github.com/miurahr/py7zr/releases/tag/v1.1.3]
- [https://github.com/miurahr/py7zr/security/advisories/GHSA-q6rc-2cgv-63h7]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-23879]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-23879]
- [https://osv.dev/vulnerability/PYSEC-2026-2974]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11112-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:21159-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-23879]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23879.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]