VDB

CVE-2026-5704

CVE-2026-5704 PUBLISHED CVSS 5 MEDIUM

Tar: tar: hidden file injection via crafted archives

Reported by redhat · Published April 6, 2026

A flaw was found in tar. A remote attacker could exploit this vulnerability by crafting a malicious archive, leading to hidden file injection with fully attacker-controlled content. This bypasses pre-extraction inspection mechanisms, potentially allowing an attacker to introduce malicious files onto a system without detection.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
tarerrata.rockylinux.org1.35-13.el10, 1.34-13.el9, 1.30-13.el8
tar-debugsourceerrata.rockylinux.org1.35-13.el10, 1.34-13.el9, 1.30-13.el8
gnutarChainguard1.35-r9
tar-debuginfoerrata.rockylinux.org1.35-13.el10, 1.34-13.el9, 1.30-13.el8
gnutarWolfi1.35-r9

Risk scores

CVSS 3.1
5
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N

Affected products

VendorProductVersions
Red HatRed Hat Enterprise Linux 102:1.35-13.el10_2
Red HatRed Hat Enterprise Linux 82:1.30-13.el8_10
Red HatRed Hat Enterprise Linux 92:1.34-13.el9_8
Red HatRed Hat Discovery 21788205779
Red HatRed Hat Hardened Images1.35-10.hum1
Red HatRed Hat Update Infrastructure 51788880445
Red HatRed Hat Update Infrastructure 51788880464
Red HatRed Hat Update Infrastructure 51788880456
Red HatRed Hat Update Infrastructure 51788765051
Red HatRed Hat Update Infrastructure 51788880581
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Update Infrastructure 51788880581
Red HatRed Hat Discovery 21788205779
chainguardgnutar0
Red HatRed Hat Update Infrastructure 51788880445
Red HatRed Hat Hardened Images1.35-10.hum1
wolfignutar0
Red HatRed Hat Enterprise Linux 92:1.34-13.el9_8

…and 7 more

Timeline

  • Apr 6, 2026 CVE Published
  • Apr 7, 2026 EPSS Score (30 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (14 in total, the first dated here)
  • Jun 19, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (14 in total, the first dated here)
  • Nov 5, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-5704
vulnetix vdb fixes CVE-2026-5704

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-5704/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›