Advisory

RLSA-2026:61581

Also known as: CVE-2026-18477, CVE-2026-18508, CVE-2026-5704

Summary

Moderate: tar security, bug fix, and enhancement update

Details

The GNU tar program can save multiple files in an archive and restore files from an archive.

Security Fix(es):

  • tar: tar: Hidden file injection via crafted archives (CVE-2026-5704)
  • tar: tar: TOCTOU in incremental dumpdir 'X' rename handling allows restore path escape (CVE-2026-18477)
  • tar: tar: --one-top-level hardlink targets not confined to top-level directory enabling arbitrary file overwrite (CVE-2026-18508)

Bug Fix(es) and Enhancement(s):

  • tar: --one-top-level with absolute path fails [rhel-9] (JIRA:Rocky Linux-144021)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Severity

Medium Basis: CVSS v3 score 5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N

Dates

Published
2026-09-01 06:05 UTC
Modified
2026-09-01 06:30 UTC

Affected packages and fixes

tar

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 2:1.34-13.el9_8 (ecosystem)

Fixed versions

2:1.34-13.el9_8

Fix

  • Fixed version 2:1.34-13.el9_8
    sudo dnf upgrade tar-2:1.34-13.el9_8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo) · CC BY 4.0

This record names its own licence, CC BY 4.0.

Sources & licences