Live threats

All CVEs / astral-sh

CVE-2025-62518astral-sh tokio-tar

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
—
Auth required
No
Published
Oct 21, 2025
Updated
Oct 8, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-843
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for tokio-tar.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io astral-tokio-tar < 0.5.6 0.5.6 cargo update -p astral-tokio-tar --precise 0.5.6
crates.io astral-tokio-tar ≥ 0.0.0-0 < 0.5.6 0.5.6 cargo update -p astral-tokio-tar --precise 0.5.6
crates.io tokio-tar ≤ 0.3.1 no fixed version —
crates.io tokio-tar ≥ 0.0.0-0 no fixed version —

Per OSV / GitHub Advisories (GHSA-j5gw-2vrg-8fgx, RUSTSEC-2025-0110, RUSTSEC-2025-0111). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.