CVE-2025-62518astral-sh tokio-tar
High 8.1 No auth needed
Follow: this CVE · astral-sh · astral-sh tokio-tar We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- —
- Auth required
- No
- Published
- Oct 21, 2025
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-843
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for tokio-tar.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | astral-tokio-tar |
< 0.5.6 |
0.5.6 |
cargo update -p astral-tokio-tar --precise 0.5.6 |
| crates.io | astral-tokio-tar |
≥ 0.0.0-0 < 0.5.6 |
0.5.6 |
cargo update -p astral-tokio-tar --precise 0.5.6 |
| crates.io | tokio-tar |
≤ 0.3.1 |
no fixed version | — |
| crates.io | tokio-tar |
≥ 0.0.0-0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-j5gw-2vrg-8fgx, RUSTSEC-2025-0110, RUSTSEC-2025-0111). Check the version in your lockfile before upgrading.
Affected products
- astral-sh · tokio-tar
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- zed-1.24.2-1.1 on GA media · SUSE · openSUSE-SU-2026:12355-1 · Oct 29, 2026 High
- Security update for python-uv · SUSE · SUSE-SU-2026:20077-1 · Jan 13, 2026 High
- Security update for python-uv · SUSE · openSUSE-SU-2026:20026-1 · Jan 13, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.