CVE-2025-62518
CVE-2025-62518 · astral-tokio-tar Vulnerable to PAX Header Desynchronization
CVSS 8.1 · High · EPSS 0.7% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- tokio-tarNo fix published
- rust-astral-tokio-tar Debian 13No fix published
- rust-astral-tokio-tar Debian 14Update to 0.5.6-1
- rust-astral-tokio-tar Ubuntu 25.10No fix published
- and 1 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="rust-astral-tokio-tar"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:12355-1 · openSUSE Tumbleweed ·
- SUSE-SU-2026:20077-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- openSUSE-SU-2026:20026-1 · openSUSE Leap 16.0 ·
- openSUSE-SU-2025:15658-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
tokio-tar
- Versions
- < 0.5.6: Affected
No fix published
rust-astral-tokio-tar Debian 13
- Versions
- 0.5.2-2
- 0.5.5-1
- 0.5.6-1
- 0.5.6-2
- 0.6.0-1
- 0.6.1-1
All versions (8)
- 0.6.2-1
- 0.6.4-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rust-astral-tokio-tar Debian 14
- Versions
- 0.5.2-2
- 0.5.5-1
- Affected ranges
- ECOSYSTEM: < 0.5.6-1
Update to 0.5.6-1
rust-astral-tokio-tar Ubuntu 25.10
- Versions
- 0.5.1-1
- 0.5.2-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rust-astral-tokio-tar Ubuntu 26.04 LTS
- Versions
- 0.5.2-2
- 0.5.5-1
- 0.5.6-1
- 0.5.6-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/astral-sh/tokio-tar/security/advisories/GHSA-j5gw-2vrg-8fgx
- https://github.com/astral-sh/uv/security/advisories/GHSA-w476-p2h3-79g9
- https://github.com/astral-sh/tokio-tar/commit/22b3f884adb7a2adf1d3a8d03469533f5cbc8318
- https://edera.dev/stories/tarmageddon
- https://github.com/edera-dev/cve-tarmageddon
- https://nvd.nist.gov/vuln/detail/CVE-2025-62518