USN-8477-1

Source
https://ubuntu.com/security/notices/USN-8477-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8477-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-8477-1
Upstream
Related
Published
2026-06-25T20:57:32Z
Modified
2026-06-26T14:59:24.298942091Z
Summary
tar vulnerability
Details

It was discovered that tar incorrectly handled certain crafted archive files. An attacker could possibly use this to inject hidden files with attacker-controlled content, bypassing pre-extraction inspection mechanisms.

References

Affected packages

Ubuntu:22.04:LTS
tar

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.34+dfsg-1ubuntu0.1.22.04.3

Affected versions

1.*
1.34+dfsg-1build1
1.34+dfsg-1build2
1.34+dfsg-1build3
1.34+dfsg-1ubuntu0.1.22.04.1
1.34+dfsg-1ubuntu0.1.22.04.2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.34+dfsg-1ubuntu0.1.22.04.3",
            "binary_name": "tar"
        },
        {
            "binary_version": "1.34+dfsg-1ubuntu0.1.22.04.3",
            "binary_name": "tar-scripts"
        }
    ]
}

Database specific

cves_map
{
    "cves": [
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2026-5704"
        }
    ],
    "ecosystem": "Ubuntu:22.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8477-1.json"
Ubuntu:24.04:LTS
tar

Package

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

Affected ranges

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

Affected versions

1.*
1.34+dfsg-1.2ubuntu1
1.34+dfsg-1.2ubuntu2
1.34+dfsg-1.3ubuntu1
1.34+dfsg-1.4
1.35+dfsg-2~build1
1.35+dfsg-2
1.35+dfsg-3
1.35+dfsg-3build1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.35+dfsg-3ubuntu0.1",
            "binary_name": "tar"
        },
        {
            "binary_version": "1.35+dfsg-3ubuntu0.1",
            "binary_name": "tar-scripts"
        }
    ]
}

Database specific

cves_map
{
    "cves": [
        {
            "id": "CVE-2026-5704",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:24.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8477-1.json"
Ubuntu:26.04:LTS
tar

Package

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

Affected ranges

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

Affected versions

1.*
1.35+dfsg-3.1build1
1.35+dfsg-3.1build2
1.35+dfsg-4

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.35+dfsg-4ubuntu0.1",
            "binary_name": "tar"
        },
        {
            "binary_version": "1.35+dfsg-4ubuntu0.1",
            "binary_name": "tar-scripts"
        }
    ]
}

Database specific

cves_map
{
    "cves": [
        {
            "id": "CVE-2026-5704",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:26.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8477-1.json"
Ubuntu:Pro:14.04:LTS
tar

Package

Name
tar
Purl
pkg:deb/ubuntu/tar?arch=source&distro=esm-infra-legacy%2Ftrusty

Affected ranges

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

Affected versions

1.*
1.26+dfsg-8
1.27-3
1.27-4
1.27.1-1
1.27.1-1ubuntu0.1
1.27.1-1ubuntu0.1+esm1
1.27.1-1ubuntu0.1+esm2
1.27.1-1ubuntu0.1+esm3
1.27.1-1ubuntu0.1+esm4

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.27.1-1ubuntu0.1+esm5",
            "binary_name": "tar"
        },
        {
            "binary_version": "1.27.1-1ubuntu0.1+esm5",
            "binary_name": "tar-scripts"
        }
    ]
}

Database specific

cves_map
{
    "cves": [
        {
            "id": "CVE-2026-5704",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:Pro:14.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8477-1.json"
Ubuntu:Pro:16.04:LTS
tar

Package

Name
tar
Purl
pkg:deb/ubuntu/tar?arch=source&distro=esm-infra-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.28-2.1ubuntu0.2+esm4

Affected versions

1.*
1.27.1-2
1.28-2ubuntu1
1.28-2.1
1.28-2.1ubuntu0.1
1.28-2.1ubuntu0.2
1.28-2.1ubuntu0.2+esm1
1.28-2.1ubuntu0.2+esm2
1.28-2.1ubuntu0.2+esm3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.28-2.1ubuntu0.2+esm4",
            "binary_name": "tar"
        },
        {
            "binary_version": "1.28-2.1ubuntu0.2+esm4",
            "binary_name": "tar-scripts"
        }
    ]
}

Database specific

cves_map
{
    "cves": [
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2026-5704"
        }
    ],
    "ecosystem": "Ubuntu:Pro:16.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8477-1.json"
Ubuntu:Pro:18.04:LTS
tar

Package

Name
tar
Purl
pkg:deb/ubuntu/tar?arch=source&distro=esm-infra%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.29b-2ubuntu0.4+esm2

Affected versions

1.*
1.29b-2
1.29b-2ubuntu0.1
1.29b-2ubuntu0.2
1.29b-2ubuntu0.3
1.29b-2ubuntu0.4
1.29b-2ubuntu0.4+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.29b-2ubuntu0.4+esm2",
            "binary_name": "tar"
        },
        {
            "binary_version": "1.29b-2ubuntu0.4+esm2",
            "binary_name": "tar-scripts"
        }
    ]
}

Database specific

cves_map
{
    "cves": [
        {
            "id": "CVE-2026-5704",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:Pro:18.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8477-1.json"
Ubuntu:Pro:20.04:LTS
tar

Package

Name
tar
Purl
pkg:deb/ubuntu/tar?arch=source&distro=esm-infra%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.30+dfsg-7ubuntu0.20.04.4+esm1

Affected versions

1.*
1.30+dfsg-6
1.30+dfsg-7
1.30+dfsg-7ubuntu0.20.04.1
1.30+dfsg-7ubuntu0.20.04.2
1.30+dfsg-7ubuntu0.20.04.3
1.30+dfsg-7ubuntu0.20.04.4

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.30+dfsg-7ubuntu0.20.04.4+esm1",
            "binary_name": "tar"
        },
        {
            "binary_version": "1.30+dfsg-7ubuntu0.20.04.4+esm1",
            "binary_name": "tar-scripts"
        }
    ]
}

Database specific

cves_map
{
    "cves": [
        {
            "id": "CVE-2026-5704",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:Pro:20.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8477-1.json"