CVE-2026-5704

published 6 Apr 2026 · updated 5 Nov 2026

Tar: tar: hidden file injection via crafted archives

6.0MediumCVSS 5.0EPSS 0%3 public exploits

3 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GNUTar
Red HatDiscovery
Red HatEnterprise Linux
Red HatHardened Images
Red HatUpdate Infrastructure
redhathardened_images
redhatenterprise_linux=9.0, =8.0, =7.0, =6.0, =10.0

Exploit evidence

3 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in GNU, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-5704 severity on Zeptric[![CVE-2026-5704](https://zeptric.io/badge/cve/CVE-2026-5704.svg)](https://zeptric.io/cve/CVE-2026-5704)