Security mailing lists by PureSourceCode

CVE-2025-62518

HIGH 8.1CVSS 3.1

astral-tokio-tar Vulnerable to PAX Header Desynchronization

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
21 Oct 2025
Last modified
12 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-843
Also known as
GHSA-j5gw-2vrg-8fgxRUSTSEC-2025-0110RUSTSEC-2025-0111
Sources
NVDJSONOSV GHSA-j5gw-2vrg-8fgxJSONOSV RUSTSEC-2025-0110JSONOSV RUSTSEC-2025-0111JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
OSV RustSec CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io astral-tokio-tar < 0.5.6 0.5.6
OSV crates.io tokio-tar <= 0.3.1
OSV crates.io astral-tokio-tar >= 0.0.0-0, < 0.5.6 0.5.6
OSV crates.io tokio-tar >= 0.0.0-0

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 21 Oct 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Oct 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Oct 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Oct 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.