8.1

CVE-2025-62518: astral-sh tokio-tar Type Confusion

CVSS: 8.1v3.1HighDeferred
AliasesUBUNTU-CVE-2025-62518DEBIAN-CVE-2025-62518CGA-2cvf-w9jp-65vr
Published 21-10-2025Last modified 22-10-2025

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.

Overall risk
33/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.70%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 4

Timeline

  1. 21-10-2025
    PublishedVulnerability first disclosed.
  2. 22-10-2025
    Last 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

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

19-09-202619-10-2026
EPSS score
0.70%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected 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
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
Show all 16 references