Description
async-tar is a tar archive reading/writing library for async Rust. Prior to version 0.6.1, async-tar mis-applies a buffered PAX size extension to an intermediary extension header (a GNU longname L, a GNU longlink K, or a PAX x/g header) instead of to the next file entry. POSIX requires a PAX extended-header record set to describe the next file entry, never an intervening extension header. Because poll_next_raw (src/archive.rs) threads the buffered PAX records into the size computation of whatever raw header it reads next — and that header can be an intermediary L — the stream cursor is advanced by an attacker-chosen amount when the L body is consumed. The parser then desyncs relative to a POSIX-correct tar parser (e.g. GNU tar), reading subsequent bytes at the wrong block boundary. This issue has been patched in version 0.6.1.
Published: 2026-09-02
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in async‑tar’s handling of PAX size extensions for intermediary archive entries such as GNU longname, longlink, or PAX x/g headers. When a buffered PAX record is incorrectly applied, the library advances the stream cursor by an attacker‑controlled amount while consuming the intermediary header body. This mis‑synchronizes the parser with the rest of the tar stream, causing it to read subsequent data at wrong boundaries. The result is that an attacker can smuggle arbitrary file entries or manipulate the content seen by downstream code, potentially exposing sensitive data or executing unintended code. The weakness is a classic input validation flaw (CWE‑20) coupled with type confusion in parsing (CWE‑843) and a buffer misuse flaw (CWE‑1286).

Affected Systems

The issue affects the Rust library async‑tar produced by dignifiedquire. Versions earlier than 0.6.1 are vulnerable. The vulnerability was fixed in version 0.6.1, as noted in the upstream repository and security advisory. No other third‑party products are mentioned in the CNA data. Users of async‑tar 0.6.0 and earlier that parse untrusted tar archives are impacted.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate risk. No EPSS score is available, but the vulnerability is not listed in CISA’s KEV catalog. Attackers can exploit the desync by crafting a tar file with a malicious PAX size extension preceding an intermediary header. Because the parser incorrectly jumps ahead, it may expose data from subsequent entries or execute application‑specific logic on out‑of‑sync content. The effect depends on how the application consumes the parsed entries; it could lead to directory traversal, data leakage, or code execution if the application trusts the parsed paths or data. Given the moderate CVSS and lack of high exploitation probability data, the risk is elevated for environments that accept untrusted archives. Applying the patch or disabling PAX extensions mitigates the vulnerability entirely.

Generated by OpenCVE AI on September 3, 2026 at 13:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade async‑tar to version 0.6.1 or later, ensuring the library is patched against the PAX desynchronization flaw.
  • If an upgrade is not immediately possible, limit the use of async‑tar to trusted archives and validate the archive’s headers before processing.
  • Consider disabling or stripping PAX extensions in the archive reader if the language runtime provides the option, to prevent the mis‑application of size extensions.

Generated by OpenCVE AI on September 3, 2026 at 13:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-35rm-7j9c-2f7m async-tar PAX extension-header desync enables tar entry/content smuggling
History

Thu, 03 Sep 2026 16:00:00 +0000

Type Values Removed Values Added
First Time appeared Dignifiedquire
Dignifiedquire async-tar
Vendors & Products Dignifiedquire
Dignifiedquire async-tar

Thu, 03 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1286
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

threat_severity

Moderate


Wed, 02 Sep 2026 11:00:00 +0000

Type Values Removed Values Added
Description async-tar is a tar archive reading/writing library for async Rust. Prior to version 0.6.1, async-tar mis-applies a buffered PAX size extension to an intermediary extension header (a GNU longname L, a GNU longlink K, or a PAX x/g header) instead of to the next file entry. POSIX requires a PAX extended-header record set to describe the next file entry, never an intervening extension header. Because poll_next_raw (src/archive.rs) threads the buffered PAX records into the size computation of whatever raw header it reads next — and that header can be an intermediary L — the stream cursor is advanced by an attacker-chosen amount when the L body is consumed. The parser then desyncs relative to a POSIX-correct tar parser (e.g. GNU tar), reading subsequent bytes at the wrong block boundary. This issue has been patched in version 0.6.1.
Title async-tar PAX extension-header desync enables tar entry/content smuggling
Weaknesses CWE-20
CWE-843
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Dignifiedquire Async-tar
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-02T18:57:48.269Z

Reserved: 2026-06-09T19:39:52.404Z

Link: CVE-2026-53600

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-02T16:17:17.983

Modified: 2026-09-02T19:17:21.223

Link: CVE-2026-53600

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-02T16:10:27Z

Links: CVE-2026-53600 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T15:34:26Z

Weaknesses
  • CWE-1286

    Improper Validation of Syntactic Correctness of Input

  • CWE-20

    Improper Input Validation

  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')