RHSA-2026:61586: Moderate: tar security, bug fix, and enhancement update

Published Aug 31, 2026
·
Updated

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 (JIRA:RHEL-143906) 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.

Affected Software

12 affected componentsFixes available
redhat/tar<1.35-13.el10_2
1.35-13.el10_2
redhat/tar<1.35-13.el10_2
1.35-13.el10_2
redhat/tar-debuginfo<1.35-13.el10_2
1.35-13.el10_2
redhat/tar-debugsource<1.35-13.el10_2
1.35-13.el10_2
redhat/tar-debuginfo<1.35-13.el10_2
1.35-13.el10_2
redhat/tar-debugsource<1.35-13.el10_2
1.35-13.el10_2
redhat/tar<1.35-13.el10_2
1.35-13.el10_2
redhat/tar-debuginfo<1.35-13.el10_2
1.35-13.el10_2
redhat/tar-debugsource<1.35-13.el10_2
1.35-13.el10_2
redhat/tar<1.35-13.el10_2.aa
1.35-13.el10_2.aa
redhat/tar-debuginfo<1.35-13.el10_2.aa
1.35-13.el10_2.aa
redhat/tar-debugsource<1.35-13.el10_2.aa
1.35-13.el10_2.aa

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/tar to a version that resolves this vulnerability.

    Fixed in 1.35-13.el10_2
  2. Upgrade

    Upgrade redhat/tar-debuginfo to a version that resolves this vulnerability.

    Fixed in 1.35-13.el10_2
  3. Upgrade

    Upgrade redhat/tar-debugsource to a version that resolves this vulnerability.

    Fixed in 1.35-13.el10_2
  4. Upgrade

    Upgrade redhat/tar to a version that resolves this vulnerability.

    Fixed in 1.35-13.el10_2.aa
  5. Upgrade

    Upgrade redhat/tar-debuginfo to a version that resolves this vulnerability.

    Fixed in 1.35-13.el10_2.aa
  6. Upgrade

    Upgrade redhat/tar-debugsource to a version that resolves this vulnerability.

    Fixed in 1.35-13.el10_2.aa
  7. Upgrade

    Upgrade tar (GNU tar) to a version that resolves this vulnerability.

    Patch CVE-2026-18508
  8. Upgrade

    Upgrade tar (GNU tar) to a version that resolves this vulnerability.

    Patch CVE-2026-18477
  9. Upgrade

    Upgrade tar (GNU tar) to a version that resolves this vulnerability.

    Patch JIRA:RHEL-143906
  10. Upgrade

    Upgrade tar (GNU tar) to a version that resolves this vulnerability.

    Patch CVE-2026-5704

Event History

Aug 31, 2026
Advisory Published
via Red Hat·12:00 AM
Data Sourced
via Red Hat·12:00 AM
RemedyDescriptionAffected Software

Frequently Asked Questions

1

What attacker interaction is required for exploitation?

An attacker would need to provide a crafted tar archive that is restored or extracted by GNU tar. The issues involve archive contents and extraction behavior, including hidden-file injection, path escape during incremental restore handling, and hardlink target handling.

2

What security outcomes can result from processing a malicious archive?

The listed flaws can enable injection of hidden files, restoration outside the intended path in incremental dumpdir handling, and arbitrary file overwrite through hardlink targets used with --one-top-level.

3

Which installed components are covered by this update?

The update lists redhat/tar, redhat/tar-debuginfo, and redhat/tar-debugsource. The security-relevant component is GNU tar, particularly when it is used to restore or extract archives.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203