CVE-2025-62518: astral-sh tokio-tar Type Confusion
Vulnerability summary
CVE-2025-62518 is a high (CVSS 8.1) Type Confusion vulnerability in astral-sh tokio-tar. EPSS estimates a 0.70% chance of exploitation in the next 30 days, higher than 52.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 4Timeline
- 21-10-2025PublishedVulnerability first disclosed.
- 22-10-2025Last modifiedVulnerability information updated.
Description
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 metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- OSV · WolfiEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- OSV · Crates.ioEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- NVDNIST8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.70%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
+0.03 pp
From 0.68% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard3 products
- pixi< 0.57.0-r1
- pixi-compat< 0.57.0-r1
- washAll versions (No fix recorded)
Wolfi3 products
- pixi< 0.57.0-r1
- pixi-compat< 0.57.0-r1
- washAll versions (No fix recorded)
Crates.Io2 products
- astral-tokio-tar< 0.5.6 | ≥ 0.0.0-0, < 0.5.6
- tokio-tar≤ 0.3.1 | ≥ 0.0.0-0 (No fix recorded)
Astral-sh1 product
- tokio-tar< 0.5.6
Debian1 product
- rust-astral-tokio-tarAll versions (No fix recorded) | < 0.5.6-1
Opensuse1 product
- python-uv&distro=openSUSE Tumbleweed< 0.9.5-1.1
Ubuntu1 product
- rust-astral-tokio-tarAll versions (No fix recorded)
7 vendors · 12 products
References
16 links- github.com/astral-sh/tokio-tar/security/advisories/GHSA-j5gw-2vrg-8fgxX Refsource CONFIRMREPORTAdvisoryWEB
- github.com/astral-sh/tokio-tar/commit/22b3f884adb7a2adf1d3a8d03469533f5cbc8318X Refsource MISCREPORTFIXWEB
Show all 16 references
- crates.io/crates/tokio-tarPACKAGE