UBUNTU-CVE-2026-23879

Source
https://ubuntu.com/security/CVE-2026-23879
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23879.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-23879
Upstream
  • CVE-2026-23879
Published
2026-06-26T00:00:00Z
Modified
2026-06-26T12:28:10.972493485Z
Severity
  • 8.0 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:22.04:LTS / py7zr

Package

Name
py7zr
Purl
pkg:deb/ubuntu/py7zr?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.11.3+dfsg-1
0.11.3+dfsg-1ubuntu1
0.11.3+dfsg-2
0.11.3+dfsg-3
0.11.3+dfsg-4
0.11.3+dfsg-4ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.11.3+dfsg-4ubuntu0.1",
            "binary_name": "python3-py7zr"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23879.json"

Ubuntu:24.04:LTS / py7zr

Package

Name
py7zr
Purl
pkg:deb/ubuntu/py7zr?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.11.3+dfsg-6
0.11.3+dfsg-7
0.11.3+dfsg-8
0.11.3+dfsg-8build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.11.3+dfsg-8build1",
            "binary_name": "python3-py7zr"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23879.json"

Ubuntu:25.10 / py7zr

Package

Name
py7zr
Purl
pkg:deb/ubuntu/py7zr?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.22.0+dfsg-1
1.*
1.0.0+dfsg1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.0.0+dfsg1-1",
            "binary_name": "python3-py7zr"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23879.json"

Ubuntu:26.04:LTS / py7zr

Package

Name
py7zr
Purl
pkg:deb/ubuntu/py7zr?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0+dfsg1-1
1.0.0+dfsg1-3
1.0.0+dfsg1-4
1.0.0+dfsg1-5
1.1.2+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.1.2+dfsg-1",
            "binary_name": "python3-py7zr"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23879.json"