Advisory

RUSTSEC-2025-0111

Also known as: CVE-2025-62518, GHSA-j5gw-2vrg-8fgx, RUSTSEC-2025-0110

Summary

tokio-tar parses PAX extended headers incorrectly, allows file smuggling

Details

The archive reader incorrectly handles PAX extended headers, when the ustar
header incorrectly specifies zero size (size=000000000000), while a PAX
header specifies a non-zero size, tokio-tar::Archive is going to read the
file content as tar entry header.

This can be used by a tar file to present different content to tokio-tar
compared to other tar reader implementations.

This bug is also known as CVE-2025-62518 and GHSA-j5gw-2vrg-8fgx, as those
crates share a common ancestor codebase.

The tokio-tar crate is archived and no longer maintained, we recommend you
switch to an alternative crate such as:

Severity

Not rated by the source.

Dates

Published
2025-10-21 12:00 UTC
Modified
2026-02-04 02:35 UTC

Affected packages and fixes

tokio-tar

crates.io · All systems

Affected

  • introduced 0.0.0-0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences