Skip to main content
CVE-2025-62518VulnerabilityPublished Updated

Rust astral tokio tar: Versions of astral-tokio-tar prior to 0.5.6 contain a boundary parsing vulnerability that

Affects rust-astral-tokio-tarSource GCVE Database

0
Compare
Authoritative record:CVE-2025-62518· High 8.1

Not known to be exploited · CVSS 8.1 High · fixed in 0.5.6 : patch rust-astral-tokio-tar soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.5.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSrust-astral-tokio-tarpkg:deb/ubuntu/rust-astral-tokio-tar?arch=source&distro=resoluteOther threatsAffected
  • 0.5.2-2 – 0.5.6-2
4 affected builds
Fixed in–
Ubuntu 25.10rust-astral-tokio-tarpkg:deb/ubuntu/rust-astral-tokio-tar?arch=source&distro=questingOther threatsAffected
  • =0.5.1-1
  • =0.5.2-2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…