Email me

Rust advisories / astral-tokio-tar

Vulnerability HighRUSTSEC-2025-0110 · astral-tokio-tar

RUSTSEC-2025-0110: astral-tokio-tar Vulnerable to PAX Header Desynchronization

Short answerA security vulnerability in the astral-tokio-tar crate: astral-tokio-tar Vulnerable to PAX Header Desynchronization. High severity (CVSS 8.1). Fixed in 0.5.6: update to a fixed version.

Crateastral-tokio-tar
TypeVulnerability (format-injection)
Affected versionsBefore 0.5.6.
Fixed in0.5.6
SeverityHigh, CVSS 8.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Published2025-10-21
Last changed2026-10-12
Also known asCVE-2025-62518, GHSA-j5gw-2vrg-8fgx, RUSTSEC-2025-0111

What to do

  1. See which version you have: cargo tree -i astral-tokio-tar (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p astral-tokio-tar. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example astral-tokio-tar = "0.5.6") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

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 vulnerability was disclosed to multiple Rust tar parsers, all derived from the original async-tar fork of tar-rs.

For additional information see Edera's blog post.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for astral-tokio-tar

Full security history of astral-tokio-tar

Up next

Same crateastral-tokio-tar: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ