CVE-2025-62518: RUSTSEC-2025-0110 - astral-tokio-tar Vulnerable to PAX Header Desynchronization
CVE-2025-62518 · Severity: high · CVSS 8.1 · Published 2025-10-21
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.
Yes. astral-tokio-tar (crates.io): upgrade to 0.5.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-62518?
Check whether you run astral-tokio-tar (crates.io) or tokio-tar (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
astral-tokio-tar (crates.io): upgrade to 0.5.6 or later