Access of Resource Using Incompatible Type ('Type Confusion') Affecting async-tar package, versions <0.6.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access of Resource Using Incompatible Type ('Type Confusion') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-ASYNCTAR-17906502
  • published9 Jul 2026
  • disclosed8 Jul 2026
  • creditUnknown

Introduced: 8 Jul 2026

NewCVE-2026-53600  (opens in a new tab)
CWE-843  (opens in a new tab)

How to fix?

Upgrade async-tar to version 0.6.1 or higher.

Overview

async-tar is a Rust implementation of an async TAR file reader and writer. This library does not currently handle compression, but it is abstract over all I/O readers and writers. Additionally, great lengths are taken to ensure that the entire contents are never required to be entirely resident in memory all at once.

Affected versions of this package are vulnerable to Access of Resource Using Incompatible Type ('Type Confusion') through improper validation of extension header sizes in the poll_next_raw process. An attacker can cause files or file contents to be extracted differently than intended by crafting a malicious tar stream that manipulates PAX extension headers, resulting in content or entry smuggling. This can lead to the extraction of files that are not visible to reference parsers, such as GNU tar, potentially allowing the attacker to bypass security controls, hide malicious payloads, or alter the on-disk result without additional configuration.

CVSS Base Scores

version 4.0
version 3.1