cve.bz

CVE-2025-62518

8.1 highEPSS 0.7%

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 3.1
8.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
EPSS
0.7% chance of exploitation in the next 30 days; higher than 52% of CVEs (scores of 2026-10-25)
CWE
CWE-843
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j5gw-2vrg-8fgxcrates.ioastral-tokio-tar<0.5.60.5.6
GHSA-j5gw-2vrg-8fgxcrates.iotokio-tar<=0.3.1no fix published
RUSTSEC-2025-0110crates.ioastral-tokio-tar>=0.0.0-0 <0.5.60.5.6
RUSTSEC-2025-0111crates.iotokio-tar>=0.0.0-0no fix published

References

Check your stackJSON