CVE catalog

CVE-2026-18508

A flaw was found in GNU tar. When extracting an archive with the --one-top-level option, hardlink targets are not confined to the designated top-level directory and may resolve relative to the extract

[CVE catalog]

Severity
Medium · CVSS 4.4CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.14% · Oct 25, 2026

A flaw was found in GNU tar. When extracting an archive with the --one-top-level option, hardlink targets are not confined to the designated top-level directory and may resolve relative to the extraction working directory. A crafted archive can create hardlinks that escape the intended boundary and, when combined with a preexisting symbolic link under the working directory, may allow writing outside that boundary during a single extraction.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiantarsid1.35+dfsg-7vulnerable
Debiantarforky1.35+dfsg-6vulnerable
Debiantartrixie1.35+dfsg-3.1vulnerable
Debiantarbookworm1.34+dfsg-1.2+deb12u1vulnerable
CpetarNot reportedNot reportedunknown
Cpeopenshift_container_platformNot reportedNot reportedunknown
Cpeenterprise_linuxNot reportedNot reportedunknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiantarsourcesid(unfixed)not yet assignedNot reported[1143836]
Debiantarsourceforky(unfixed)not yet assignedNot reported[1143836]
Debiantarsourcetrixie(unfixed)not yet assignedNot reported[1143836]
Debiantarsourcebookworm(unfixed)not yet assignedNot reported[1143836]

[Debian bug #1143836]

Notes

[trixie] tar: Minor issue [bookworm] tar: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [tar]Affected
    Details (2)
    • 1.34+dfsg-1.2+deb12u1 · amd64 · bookworm

      Affected

      nvd · tar · debian · bookworm; nvd · tar · debian · 12

    • 1.34+dfsg-1.2+deb12u1 · arm64 · bookworm

      Affected

      nvd · tar · debian · bookworm; nvd · tar · debian · 12

  • [tar-scripts]Affected

    Source package: [tar]

    Details (2)
    • 1.34+dfsg-1.2+deb12u1 · amd64 · bookworm

      Affected

      nvd · tar · debian · bookworm; nvd · tar · debian · 12

    • 1.34+dfsg-1.2+deb12u1 · arm64 · bookworm

      Affected

      nvd · tar · debian · bookworm; nvd · tar · debian · 12

[Debian 13 (Trixie)]

  • [tar]Affected
    Details (2)
    • 1.35+dfsg-3.1 · amd64 · trixie

      Affected

      nvd · tar · debian · 13

    • 1.35+dfsg-3.1 · arm64 · trixie

      Affected

      nvd · tar · debian · 13

  • [tar-scripts]Affected

    Source package: [tar]

    Details (2)
    • 1.35+dfsg-3.1 · all · trixie

      Affected

      nvd · tar · debian · 13

    • 1.35+dfsg-3.1 · all · trixie

      Affected

      nvd · tar · debian · 13

Observed:

References