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

[CVE catalog]

Severity
High · CVSS 8CVSS: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.

DistributionPackageReleaseVersionStatus
Debianpy7zrsid1.1.4+dfsg-1fixed
Debianpy7zrforky1.1.4+dfsg-1fixed
Debianpy7zrtrixie0.22.0+dfsg-1vulnerable
Debianpy7zrbookworm0.11.3+dfsg-5vulnerable
Cpepy7zrNot reportedNot reportedvulnerable
PyPIpy7zrNot reported1.1.3fixed
PyPIpy7zrNot reported1.1.3fixed
Opensusepython-py7zrleap 16.01.0.0-bp160.2.1fixed
Opensusepython-py7zrtumbleweed1.1.3-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpy7zrsourcesid1.1.2+dfsg-1not yet assignedNot reportedNot reported
Debianpy7zrsourceforky1.1.2+dfsg-1not yet assignedNot reportedNot reported
Debianpy7zrsourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianpy7zrsourcebookworm(unfixed)not yet assignedNot reportedNot reported
PyPIpy7zrPyPINot reported1.1.3Not reportedGHSA-Q6RC-2CGV-63H7Not reported
PyPIpy7zrPyPINot reported1.1.3Not reportedPYSEC-2026-2974Not reported
Opensusepython-py7zrrpmleap 16.01.0.0-bp160.2.1Not reportedOPENSUSE-SU-2026:21159-1Not reported
Opensusepython-py7zrrpmtumbleweed1.1.3-1.1Not reportedOPENSUSE-SU-2026:11112-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-py7zr]Affected

    Source package: [py7zr]

    Details (2)
    • 0.11.3+dfsg-5 · amd64 · bookworm

      Affected

      nvd · py7zr · debian · bookworm; nvd · py7zr · debian · 12

    • 0.11.3+dfsg-5 · arm64 · bookworm

      Affected

      nvd · py7zr · debian · bookworm; nvd · py7zr · debian · 12

  • Source package: [py7zr]

    Details (2)
    • 0.11.3+dfsg-5 · all · bookworm

      Affected

      nvd · py7zr · debian · bookworm; nvd · py7zr · debian · 12

    • 0.11.3+dfsg-5 · all · bookworm

      Affected

      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 · trixie

      Affected

      nvd · py7zr · debian · 13

    • 0.22.0+dfsg-1 · all · trixie

      Affected

      nvd · py7zr · debian · 13

    • 1.0.0+dfsg1-3~bpo13+1 · all · trixie-backports

      Affected

      nvd · py7zr · debian · 13

    • 1.0.0+dfsg1-3~bpo13+1 · all · trixie-backports

      Affected

      nvd · py7zr · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-py7zr]

    Details (1)
    • 1.1.3-1.2 · noarch · tumbleweed

      Unknown · Fixed: 1.1.3-1.1

      Version impact unknown

      nvd · python-py7zr · opensuse · tumbleweed

  • Source package: [python-py7zr]

    Details (1)
    • 1.1.3-1.2 · noarch · tumbleweed

      Unknown · Fixed: 1.1.3-1.1

      Version impact unknown

      nvd · python-py7zr · opensuse · tumbleweed

Observed:

References