CVE-2026-5704: A flaw was found in tar. A remote attacker could exploit this vulnerability by crafting a malicious archive, leading…

CVE-2026-5704 · Severity: medium · CVSS 5 · Published 2026-04-06

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.

Technologies: Gnu Tar, Redhat Enterprise Linux, Redhat Hardened Images. Vendors: Gnu, Redhat.

Quick answers

Is CVE-2026-5704 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-5704 being exploited in the wild.
How severe is CVE-2026-5704?
Medium severity, with a CVSS score of 5, published 6 April 2026.
Which products and versions are affected?
Gnu Tar, Redhat Enterprise Linux, Redhat Hardened Images. The advisory does not name versions.
Is there a fix for CVE-2026-5704?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2026-5704?
Check whether you run Gnu Tar, Redhat Enterprise Linux or Redhat Hardened Images. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • Gnu Tar
  • Redhat Enterprise Linux
  • Redhat Hardened Images

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.