---
title: "CVE-2026-5704"
canonical_url: "https://pkgseek.com/security/CVE-2026-5704"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-5704

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.

CVE-2026-5704 严重级别为 MEDIUM (5.5)，共索引 16 条受影响软件包构建记录，涉及 8 个发行版。

- **级别 / 评分**: MEDIUM (5.5)
- **受影响构建数**: 16
- **涉及发行版**: 8
- **已标明修复版本发行版**: Alibaba Cloud Linux, AlmaLinux, Fedora, OpenAnolis, Oracle Linux, Rocky Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | tar | 2:1.30-11.0.1.al8 | 2:1.30-13.0.1.al8 |
| Alibaba Cloud Linux | 3 | tar-doc | 2:1.30-11.0.1.al8 | 2:1.30-13.0.1.al8 |
| Alibaba Cloud Linux | 4 | tar | 2:1.35-2.alnx4 | 2:1.35-3.alnx4 |
| AlmaLinux | 10 | tar | 2:1.35-11.el10 | 2:1.35-13.el10_2 |
| AlmaLinux | 9 | tar | 2:1.34-11.el9 | 2:1.34-13.el9_8 |
| Debian | trixie | tar | 1.35+dfsg-3.1 | — |
| Debian | trixie | tar-scripts | 1.35+dfsg-3.1 | — |
| Fedora | 44 | tar | 2:1.35-8.fc44 | 2:1.35-9.fc44 |
| OpenAnolis | 8.10 | tar | 2:1.30-11.0.1.an8 | 2:1.30-13.0.1.an8 |
| Oracle Linux | 10 | tar | 2:1.35-11.el10 | 2:1.35-13.el10_2 |
| Oracle Linux | 8 | tar | 2:1.30-11.el8_10 | 2:1.30-13.el8_10 |
| Oracle Linux | 9 | tar | 2:1.34-11.el9 | 2:1.34-13.el9_8 |
| Rocky Linux | 10 | tar | 2:1.35-11.el10 | 2:1.35-13.el10_2 |
| Rocky Linux | 9 | tar | 2:1.34-11.el9 | 2:1.34-13.el9_8 |
| Ubuntu | jammy | tar | 1.34+dfsg-1build3 | — |
| Ubuntu | noble | tar | 1.35+dfsg-3build1 | — |
