USN-8138-1

Source
https://ubuntu.com/security/notices/USN-8138-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8138-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-8138-1
Upstream
Related
Published
2026-04-01T13:35:16Z
Modified
2026-04-02T21:29:25.492048763Z
Summary
rust-tar vulnerability
Details

It was discovered that tar-rs incorrectly handled symlinks when unpacking a tar archive. If a user or automated system were tricked into processing a specially crafted tar archive, a remote attacker could use this issue to modify permissions of arbitrary directories outside the extraction root, and possibly escalate privileges.

References

Affected packages

Ubuntu:22.04:LTS / rust-tar

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.4.37-3ubuntu0.1

Affected versions

0.*
0.4.26-1
0.4.37-1
0.4.37-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.4.37-3ubuntu0.1",
            "binary_name": "librust-tar+default-dev"
        },
        {
            "binary_version": "0.4.37-3ubuntu0.1",
            "binary_name": "librust-tar-dev"
        }
    ],
    "availability": "No subscription required"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8138-1.json"
cves_map
{
    "ecosystem": "Ubuntu:22.04:LTS",
    "cves": [
        {
            "id": "CVE-2026-33056",
            "severity": [
                {
                    "type": "CVSS_V4",
                    "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ]
}

Ubuntu:24.04:LTS / rust-tar

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.4.40-1ubuntu0.1

Affected versions

0.*
0.4.38-2
0.4.40-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.4.40-1ubuntu0.1",
            "binary_name": "librust-tar-dev"
        }
    ],
    "availability": "No subscription required"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8138-1.json"
cves_map
{
    "ecosystem": "Ubuntu:24.04:LTS",
    "cves": [
        {
            "id": "CVE-2026-33056",
            "severity": [
                {
                    "type": "CVSS_V4",
                    "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ]
}

Ubuntu:25.10 / rust-tar

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.4.43-4ubuntu0.1

Affected versions

0.*
0.4.43-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.4.43-4ubuntu0.1",
            "binary_name": "librust-tar-dev"
        }
    ],
    "availability": "No subscription required"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8138-1.json"
cves_map
{
    "ecosystem": "Ubuntu:25.10",
    "cves": [
        {
            "id": "CVE-2026-33056",
            "severity": [
                {
                    "type": "CVSS_V4",
                    "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ]
}