High severity8.1OSV Advisory· Published Oct 21, 2025· Updated Apr 15, 2026
CVE-2025-62518
CVE-2025-62518
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
astral-tokio-tarcrates.io | < 0.5.6 | 0.5.6 |
tokio-tarcrates.io | <= 0.3.1 | — |
Affected products
11- osv-coords10 versionspkg:apk/chainguard/pixipkg:apk/chainguard/pixi-compatpkg:apk/wolfi/pixipkg:apk/wolfi/pixi-compatpkg:cargo/astral-tokio-tarpkg:cargo/tokio-tarpkg:rpm/opensuse/python-uv&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/python-uv&distro=openSUSE%20Tumbleweedpkg:rpm/suse/python-uv&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/python-uv&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0
< 0.57.0-r1+ 9 more
- (no CPE)range: < 0.57.0-r1
- (no CPE)range: < 0.57.0-r1
- (no CPE)range: < 0.57.0-r1
- (no CPE)range: < 0.57.0-r1
- (no CPE)range: < 0.5.6
- (no CPE)range: <= 0.3.1
- (no CPE)range: < 0.7.18-160000.3.1
- (no CPE)range: < 0.9.5-1.1
- (no CPE)range: < 0.7.18-160000.3.1
- (no CPE)range: < 0.7.18-160000.3.1
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-j5gw-2vrg-8fgxghsaADVISORY
- edera.dev/stories/tarmageddonnvdWEB
- github.com/astral-sh/tokio-tar/commit/22b3f884adb7a2adf1d3a8d03469533f5cbc8318nvdWEB
- github.com/astral-sh/tokio-tar/security/advisories/GHSA-j5gw-2vrg-8fgxnvdWEB
- github.com/astral-sh/uv/security/advisories/GHSA-w476-p2h3-79g9nvdWEB
- rustsec.org/advisories/RUSTSEC-2025-0110.htmlghsaWEB
- rustsec.org/advisories/RUSTSEC-2025-0111.htmlghsaWEB
News mentions
1- Risky Business #811 -- F5 is the tip of the crap software icebergRisky Business · Oct 22, 2025