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.
Metrics
Affected Vendors & Products
Advisories
Source | ID | Title |
---|---|---|
![]() |
GHSA-j5gw-2vrg-8fgx | astral-tokio-tar Vulnerable to PAX Header Desynchronization |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Tue, 21 Oct 2025 17:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Tue, 21 Oct 2025 16:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
Title | astral-tokio-tar Vulnerable to PAX Header Desynchronization | |
Weaknesses | CWE-843 | |
References |
|
|
Metrics |
cvssV3_1
|

Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2025-10-21T16:35:13.913Z
Reserved: 2025-10-15T15:03:28.134Z
Link: CVE-2025-62518

Updated: 2025-10-21T16:35:11.190Z

Status : Awaiting Analysis
Published: 2025-10-21T17:15:40.563
Modified: 2025-10-21T19:31:25.450
Link: CVE-2025-62518

No data.

No data.