Summary
This update for tar fixes the following issues:
- CVE-2026-18477: TOCTOU in incremental dumpdir 'X' rename handling allows restore path escape (bsc#1274489).
- CVE-2026-18508: --one-top-level hardlink targets not confined to top-level directory enabling arbitrary file overwrite
(bsc#1274490).
Fixed packages 3
| Release | Package | Fixed in |
|---|---|---|
| SUSE · SLE Micro 5.4 Linux Enterprise Micro 5.4 | tar | 1.34-150000.3.45.1 |
| SUSE · SLE Micro 5.5 Linux Enterprise Micro 5.5 | tar | 1.34-150000.3.45.1 |
| SUSE · SLES 15 SP7 Linux Enterprise Module for Basesystem 15 SP7 | tar | 1.34-150000.3.45.1 |
Vulnerabilities 2
-
Medium 4.4
Tar: tar: toctou in incremental dumpdir 'x' rename handling allows restore path escape
A TOCTOU (Time-of-Check Time-of-Use) vulnerability in GNU tar's incremental dumpdir 'X' rename handling allows a local attacker with write access to a directory being backed up to influence the restore process if the attacker has access to the system where th…
-
Medium 4.4
Tar: tar: --one-top-level hardlink targets not confined to top-level directory enabling arbitrary file overwrite
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 hardlin…