What’s Vulnerable › Vulnerabilities
CVE-2026-32766: astral-tokio-tar insufficiently validates PAX extensions during extraction
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-20 · updated 2026-06-17
- Weakness: CWE-436
Description
astral-tokio-tar is a tar archive reading/writing library for async Rust. In versions 0.5.6 and earlier, malformed PAX extensions were silently skipped when parsing tar archives. This silent skipping (rather than rejection) of invalid PAX extensions could be used as a building block for a parser differential, for example by silently skipping a malformed GNU “long link” extension so that a subsequent parser would misinterpret the extension. In practice, exploiting this behavior in astral-tokio-tar requires a secondary misbehaving tar parser, i.e. one that insufficiently validates malformed PAX extensions and interprets them rather than skipping or erroring on them. This vulnerability is considered low-severity as it requires a separate vulnerability against any unrelated tar parser. This issue has been fixed in version 0.6.0.
Affected products
- astral-sh tokio-tar: before 0.6.0 — fixed in 0.6.0
How to fix
Upgrade to a fixed version: astral-sh tokio-tar 0.6.0. Check the vendor advisory for mitigations.
References
- https://github.com/astral-sh/tokio-tar/commit/e5e0139cae4577eeedf5fc16b65e690bf988ce52
- https://github.com/astral-sh/tokio-tar/security/advisories/GHSA-6gx3-4362-rf54
Get alerted when CVE-2026-32766 or the next vulnerability affects your stack