Read the docs
TI-2025-38758 Aliases CVE-2025-62518GHSA-j5gw-2vrg-8fgx

astral-tokio-tar Vulnerable to PAX Header Desynchronization

Priority HIGH 70CWE-843Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · None
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-843 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00703 53rd percentileScored 2026-11-07
Fix Partial tokio-tar (astral-sh): 0.5.6astral-tokio-tar (crates.io): 0.5.6Red Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
astral-shtokio-tarbefore 0.5.60.5.6Patch availableCNA
—astral-tokio-tar (crates.io)before 0.5.60.5.6Patch availableGHSA-j5gw-2vrg-8fgx
—tokio-tar (crates.io)up to 0.3.1—No fix listedGHSA-j5gw-2vrg-8fgx
  • tokio-tar Vendorastral-sh Affected before 0.5.6 Fixed in 0.5.6 Patch available CNA
  • astral-tokio-tar (crates.io) Vendor— Affected before 0.5.6 Fixed in 0.5.6 Patch available GHSA-j5gw-2vrg-8fgx
  • tokio-tar (crates.io) Vendor— Affected up to 0.3.1 Fixed in — No fix listed GHSA-j5gw-2vrg-8fgx

Remediation

  • Fix · CNA tokio-tar (astral-sh) Fixed in 0.5.6
  • Fix · GHSA-j5gw-2vrg-8fgx astral-tokio-tar (crates.io) Fixed in 0.5.6 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Confidential Compute AttestationAffectedNo fix yet
Red Hat OpenShift Container Platform 4AffectedNo fix planned: Will not fix
Not affected: 3 products
  • Confidential Compute Attestation
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-62518
  2. 2026-10-03 Alias added: GHSA-j5gw-2vrg-8fgx

References

  • TI-2026-78723 Path traversal in Astral uv lets attackers delete arbitrary files CVSS 4.0HIGH 8.7
  • TI-2025-43946 Path traversal in Astral uv sdist extraction allows file writes CVSS 4.0HIGH 8.7
  • TI-2026-78722 Path traversal in uv lets malicious wheels write files CVSS 4.0HIGH 8.7
  • TI-2025-34180 uv is vulnerable to ZIP payload obfuscation through parsing differentials CVSS 4.0MEDIUM 6.8
  • TI-2026-66129 uv: Path traversal on Windows through wheel extraction CVSS 4.0MEDIUM 5.9
  • TI-2025-37264 astral-tokio-tar has a path traversal in tar extraction CVSS 4.0MEDIUM 6.1

Sources