Access of Resource Using Incompatible Type ('Type Confusion') Affecting rust-astral-tokio-tar package, versions <0.5.6-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.7% (52nd percentile)

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 IDSNYK-DEBIAN14-RUSTASTRALTOKIOTAR-13653431
  • published22 Oct 2025
  • disclosed21 Oct 2025

Introduced: 21 Oct 2025

CVE-2025-62518  (opens in a new tab)
CWE-843  (opens in a new tab)

How to fix?

Upgrade Debian:14 rust-astral-tokio-tar to version 0.5.6-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-astral-tokio-tar package and not the rust-astral-tokio-tar package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

astral-tokio-tar is a tar archive reading/writing library for async Rust. Versions of astral-tokio-tar prior to 0.5.6 contain a boundary parsing vulnerability that allows attackers to smuggle additional archive entries by exploiting inconsistent PAX/ustar header handling. When processing archives with PAX-extended headers containing size overrides, the parser incorrectly advances stream position based on ustar header size (often zero) instead of the PAX-specified size, causing it to interpret file content as legitimate tar headers. This issue has been patched in version 0.5.6. There are no workarounds.

CVSS Base Scores

version 3.1