CVE-2026-32766 astral-tokio-tar insufficiently validates PAX extensions during extraction

Low 1.7 Published Updated

Malformed PAX extensions are silently skipped, potentially enabling parser differential attacks if combined with a vulnerable secondary parser.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-32766?

CVE-2026-32766 is a low-severity vulnerability in astral-sh tokio-tar, published on 20 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-436

Which versions are affected by CVE-2026-32766?

3 open source packages ship an affected version, including astral-tokio-tar. It affects 1 product.

PackageAffectedFixed in
astral-tokio-tar crates.ioAll versions0.6.0
astral-tokio-tar crates.ioAll versions0.6.0
astral-tokio-tar crates.ioFrom 0.0.0-00.6.0

Products include Astral Astral-Tokio-Tar.

How do I fix CVE-2026-32766?

Upgrade astral-tokio-tar to 0.6.0 or later.

Is CVE-2026-32766 being exploited?

There is no known exploitation of CVE-2026-32766 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-32766, GHSA-6gx3-4362-rf54, MINI-5fm9-6g6x-ccmr, RUSTSEC-2026-0066, UBUNTU-CVE-2026-32766.

Is CVE-2026-32766 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free