p PatchFirst

CVE-2025-62518

CVE-2025-62518 · astral-tokio-tar Vulnerable to PAX Header Desynchronization

CVSS 8.1 · High · EPSS 0.7% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="rust-astral-tokio-tar"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • tokio-tar

    Versions
    • < 0.5.6: Affected

    No fix published

  • rust-astral-tokio-tar Debian 13

    Versions
    • 0.5.2-2
    • 0.5.5-1
    • 0.5.6-1
    • 0.5.6-2
    • 0.6.0-1
    • 0.6.1-1
    All versions (8)
    • 0.6.2-1
    • 0.6.4-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-astral-tokio-tar Debian 14

    Versions
    • 0.5.2-2
    • 0.5.5-1
    Affected ranges
    • ECOSYSTEM: < 0.5.6-1

    Update to 0.5.6-1

  • rust-astral-tokio-tar Ubuntu 25.10

    Versions
    • 0.5.1-1
    • 0.5.2-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-astral-tokio-tar Ubuntu 26.04 LTS

    Versions
    • 0.5.2-2
    • 0.5.5-1
    • 0.5.6-1
    • 0.5.6-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →