UBUNTU-CVE-2026-115906

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

zip is a zip library for Rust that supports reading and writing simple ZIP files. From 0.6.0 until 9.0.0, the AES entry reader in src/aes.rs verifies its HMAC only when the attacker-controlled data counter reaches zero. If the underlying bounded reader reaches the real end of the archive while data_remaining is still positive, or if an encrypted entry has no payload, the reader can return a clean end of stream without reading and comparing the authentication tag. Applications using by_index_decrypt, by_name_decrypt, by_path_decrypt, or password-enabled by_index_with_options can therefore accept modified plaintext without an authentication error. This issue is fixed in version 9.0.0.

References

Affected packages

Ubuntu:20.04:LTS / rust-zip

Package

Name
rust-zip
Purl
pkg:deb/ubuntu/rust-zip?arch=source&distro=focal

Affected ranges

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

Affected versions

0.*
0.5.0-1
0.5.3-1
0.5.3-2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "librust-zip+bzip2-dev",
            "binary_version":  "0.5.3-2"
        },
        {
            "binary_name":  "librust-zip+default-dev",
            "binary_version":  "0.5.3-2"
        },
        {
            "binary_name":  "librust-zip+deflate-dev",
            "binary_version":  "0.5.3-2"
        },
        {
            "binary_name":  "librust-zip+deflate-miniz-dev",
            "binary_version":  "0.5.3-2"
        },
        {
            "binary_name":  "librust-zip+deflate-zlib-dev",
            "binary_version":  "0.5.3-2"
        },
        {
            "binary_name":  "librust-zip+flate2-dev",
            "binary_version":  "0.5.3-2"
        },
        {
            "binary_name":  "librust-zip+time-dev",
            "binary_version":  "0.5.3-2"
        },
        {
            "binary_name":  "librust-zip-dev",
            "binary_version":  "0.5.3-2"
        }
    ]
}

Database specific

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

Ubuntu:22.04:LTS / rust-zip

Package

Name
rust-zip
Purl
pkg:deb/ubuntu/rust-zip?arch=source&distro=jammy

Affected ranges

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

Affected versions

0.*
0.5.8-2
0.5.13-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "librust-zip+bzip2-dev",
            "binary_version":  "0.5.13-1"
        },
        {
            "binary_name":  "librust-zip+default-dev",
            "binary_version":  "0.5.13-1"
        },
        {
            "binary_name":  "librust-zip+deflate-dev",
            "binary_version":  "0.5.13-1"
        },
        {
            "binary_name":  "librust-zip+deflate-miniz-dev",
            "binary_version":  "0.5.13-1"
        },
        {
            "binary_name":  "librust-zip+deflate-zlib-dev",
            "binary_version":  "0.5.13-1"
        },
        {
            "binary_name":  "librust-zip+flate2-dev",
            "binary_version":  "0.5.13-1"
        },
        {
            "binary_name":  "librust-zip+time-dev",
            "binary_version":  "0.5.13-1"
        },
        {
            "binary_name":  "librust-zip-dev",
            "binary_version":  "0.5.13-1"
        }
    ]
}

Database specific

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

Ubuntu:24.04:LTS / rust-zip

Package

Name
rust-zip
Purl
pkg:deb/ubuntu/rust-zip?arch=source&distro=noble

Affected ranges

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

Affected versions

0.*
0.6.6-1
0.6.6-2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "librust-zip-dev",
            "binary_version":  "0.6.6-2"
        }
    ]
}

Database specific

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

Ubuntu:26.10 / rust-zip

Package

Name
rust-zip
Purl
pkg:deb/ubuntu/rust-zip?arch=source&distro=stonking

Affected ranges

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

Affected versions

5.*
5.1.1-3
5.1.1+dfsg-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "librust-zip-dev",
            "binary_version":  "5.1.1+dfsg-1"
        }
    ]
}

Database specific

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

Ubuntu:26.04:LTS / rust-zip

Package

Name
rust-zip
Purl
pkg:deb/ubuntu/rust-zip?arch=source&distro=resolute

Affected ranges

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

Affected versions

2.*
2.5.0-1
5.*
5.1.1-2
5.1.1-3

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "librust-zip-dev",
            "binary_version":  "5.1.1-3"
        }
    ]
}

Database specific

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