UBUNTU-CVE-2026-33055

Source
https://ubuntu.com/security/CVE-2026-33055
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33055.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-33055
Upstream
Published
2026-03-20T07:16:00Z
Modified
2026-03-25T19:59:34.797018Z
Severity
  • 5.1 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

tar-rs is a tar archive reading/writing library for Rust. Versions 0.4.44 and below have conditional logic that skips the PAX size header in cases where the base header size is nonzero. As part of CVE-2025-62518, the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. This is almost the inverse of the astral-tokio-tar issue. Any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust tar) crate is an outlier in checking for the header size - other tar parsers (including e.g. Go archive/tar) unconditionally use the PAX size override. This can affect anything that uses the tar crate to parse archives and expects to have a consistent view with other parsers. This issue has been fixed in version 0.4.45.

References

Affected packages

Ubuntu:20.04:LTS / rust-tar

Package

Name
rust-tar
Purl
pkg:deb/ubuntu/rust-tar@0.4.26-1?arch=source&distro=focal

Affected ranges

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

Affected versions

0.*
0.4.26-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-tar+default-dev",
            "binary_version": "0.4.26-1"
        },
        {
            "binary_name": "librust-tar-dev",
            "binary_version": "0.4.26-1"
        }
    ]
}

Database specific

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

Ubuntu:Pro:22.04:LTS / rust-tar

Package

Name
rust-tar
Purl
pkg:deb/ubuntu/rust-tar@0.4.37-3ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy

Affected ranges

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

Affected versions

0.*
0.4.26-1
0.4.37-1
0.4.37-3
0.4.37-3ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-tar+default-dev",
            "binary_version": "0.4.37-3ubuntu0.1~esm1"
        },
        {
            "binary_name": "librust-tar-dev",
            "binary_version": "0.4.37-3ubuntu0.1~esm1"
        }
    ]
}

Database specific

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

Ubuntu:24.04:LTS / rust-tar

Package

Name
rust-tar
Purl
pkg:deb/ubuntu/rust-tar@0.4.40-1?arch=source&distro=noble

Affected ranges

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

Affected versions

0.*
0.4.38-2
0.4.40-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-tar-dev",
            "binary_version": "0.4.40-1"
        }
    ]
}

Database specific

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

Ubuntu:25.10 / rust-tar

Package

Name
rust-tar
Purl
pkg:deb/ubuntu/rust-tar@0.4.43-4?arch=source&distro=questing

Affected ranges

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

Affected versions

0.*
0.4.43-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-tar-dev",
            "binary_version": "0.4.43-4"
        }
    ]
}

Database specific

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