# CVE-2026-5704: Tar: tar: hidden file injection via crafted archives

- Severity: Medium 5.0 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2026-04-06T15:17:27.945Z
- Modified: 2026-11-05T23:16:55.620Z
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- tar: no versions given (not affected: from 2:1.35-13.el10_2 before *; from 2:1.30-13.el8_10 before *; from 2:1.34-13.el9_8 before *)
- discovery/discovery-server-rhel9: no versions given (not affected: from 1788205779 before *)
- tar-main: no versions given (not affected: from 1.35-10.hum1 before *)
- rhui5/cds-kubernetes-rhel9: no versions given (not affected: from 1788880445 before *)
- rhui5/cds-rhel9: no versions given (not affected: from 1788880464 before *)
- rhui5/haproxy-rhel9: no versions given (not affected: from 1788880456 before *)
- rhui5/installer-rhel9: no versions given (not affected: from 1788765051 before *)
- rhui5/rhua-rhel9: no versions given (not affected: from 1788880581 before *)
- gnu tar: no versions given
- redhat hardened_images: no versions given
- redhat enterprise_linux: 6.0; 7.0; 8.0; 9.0; 10.0

## Every score

- redhat: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2455360> (exploit, issue-tracking, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2026/04/11/10> (exploit, mailing-list, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2026/04/12/2> (exploit, mailing-list, third-party-advisory)
- <https://access.redhat.com/errata/RHSA-2026:61581> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:61586> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:61783> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:66018> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:66514> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:70390> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-5704> (third-party-advisory, vdb-entry)
- <http://www.openwall.com/lists/oss-security/2026/04/11/11> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2026-5704](https://www.cve.org/CVERecord?id=CVE-2026-5704), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-5704](https://nvd.nist.gov/vuln/detail/CVE-2026-5704), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-5704 · Whole record: https://cve.day/CVE-2026-5704.json · Rebuilt by cve.day 2026-11-25T22:59:18.028Z
