Skip to main content
← All vulnerabilities
CVE-2025-62518RUSTSEC-2025-0110GHSA-J5GW-2VRG-8FGXRUSTSEC-2025-0111

astral-tokio-tar Vulnerable to PAX Header Desynchronization

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.5.6
2 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • astral-sh tokio-tar

    fixed in 0.5.6

  • astral-tokio-tarcrates.io

    From 0.0.0-0 · fixed in 0.5.6

  • astral-tokio-tarcrates.io

    fixed in 0.5.6

  • tokio-tarcrates.io

    through 0.3.1

  • tokio-tarcrates.io

    From 0.0.0-0

References 6

GitHub · astral-sh/tokio-tar

GitHub · astral-sh/uv

edera.dev

GitHub · edera-dev/cve-tarmageddon

GitHub · AirineiAndrei/Tarmageddon-CVE-2025-62518-