astral-tokio-tar
A tar archive reading/writing library for async Rust.
Activity
- Latest release
- 2w ago
- Total releases
- 14
- Cadence
- ~27 days
- Last 12 months
- 8
Reach
- Downloads
- 22.2M
- Stars
- 81
Details
- License
- MIT OR Apache-2.0
- First release
- Feb 05, 2025
| Version | Released | |
|---|---|---|
0.7.0
minor
|
0.7.0
minor
Dependencies (11)
+ 3 more
Changelog
Compare changes
|
|
0.6.4
unknown
|
0.6.4
unknown
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
0.6.3
unknown
|
0.6.3
unknown
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
0.6.2
unknown
|
0.6.2
unknown
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
0.6.1
unknown
1 CVE
GHSA-3cv2-h65g-fgmm
RUSTSEC-2026-0145
May 29, 2026
astral-tokio-tar has a PAX Header Desynchronization issue
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.2 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. DetailsWhen a tar stream contains multiple "header" entries prior to a file entry, astral-tokio-tar applies the PAX header ( Per POSIX pax, this is incorrect: a PAX header always applies to a file entry, not any intermediary entries. See the "pax Header Block" section for the specific prescription there. As a result of this, an attacker can contrive a tar containing a sequence of tar headers such that astral-tokio-tar applies the PAX header's size extension to the next header in sequence, effectively desynchronizing the stream and enabling astral-tokio-tar specific skippage/extraction of members. In other words, a file can be contrived to extract differently on astral-tokio-tar than on other tar parsers. PatchesVersions 0.6.2 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Fixed in
0.6.2
References Updated May 29, 2026 · Source: OSV.dev |
0.6.1
unknown
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
0.6.1-rc1
unknown
3 CVEs
GHSA-3cv2-h65g-fgmm
RUSTSEC-2026-0145
May 29, 2026
astral-tokio-tar has a PAX Header Desynchronization issue
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.2 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. DetailsWhen a tar stream contains multiple "header" entries prior to a file entry, astral-tokio-tar applies the PAX header ( Per POSIX pax, this is incorrect: a PAX header always applies to a file entry, not any intermediary entries. See the "pax Header Block" section for the specific prescription there. As a result of this, an attacker can contrive a tar containing a sequence of tar headers such that astral-tokio-tar applies the PAX header's size extension to the next header in sequence, effectively desynchronizing the stream and enabling astral-tokio-tar specific skippage/extraction of members. In other words, a file can be contrived to extract differently on astral-tokio-tar than on other tar parsers. PatchesVersions 0.6.2 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Fixed in
0.6.2
References Updated May 29, 2026 · Source: OSV.dev
GHSA-xx64-wwv2-hcqq
RUSTSEC-2026-0113
May 06, 2026
astral-tokio-tar: `unpack_in` can chmod arbitrary directories by following symlinks
Low
Network
Low
None
None
ImpactIn versions 0.6.0 and earlier of astral-tokio-tar, the See GHSA-j4xf-2g29-59ph for the equivalent flaw in the PatchesVersions 0.6.1 and newer of astral-tokio-tar use WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. Users should experience no breaking changes as a result of the patch above. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev
GHSA-fp55-jw48-c537
RUSTSEC-2026-0112
May 06, 2026
astral-tokio-tar is Vulnerable to PAX Header Desynchronization
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.1 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. See GHSA-j5gw-2vrg-8fgx for a similar desynchronization bug in astral-tokio-tar. PatchesVersions 0.6.1 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev |
0.6.1-rc1
unknown
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
0.6.0
unknown
3 CVEs
GHSA-3cv2-h65g-fgmm
RUSTSEC-2026-0145
May 29, 2026
astral-tokio-tar has a PAX Header Desynchronization issue
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.2 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. DetailsWhen a tar stream contains multiple "header" entries prior to a file entry, astral-tokio-tar applies the PAX header ( Per POSIX pax, this is incorrect: a PAX header always applies to a file entry, not any intermediary entries. See the "pax Header Block" section for the specific prescription there. As a result of this, an attacker can contrive a tar containing a sequence of tar headers such that astral-tokio-tar applies the PAX header's size extension to the next header in sequence, effectively desynchronizing the stream and enabling astral-tokio-tar specific skippage/extraction of members. In other words, a file can be contrived to extract differently on astral-tokio-tar than on other tar parsers. PatchesVersions 0.6.2 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Fixed in
0.6.2
References Updated May 29, 2026 · Source: OSV.dev
GHSA-xx64-wwv2-hcqq
RUSTSEC-2026-0113
May 06, 2026
astral-tokio-tar: `unpack_in` can chmod arbitrary directories by following symlinks
Low
Network
Low
None
None
ImpactIn versions 0.6.0 and earlier of astral-tokio-tar, the See GHSA-j4xf-2g29-59ph for the equivalent flaw in the PatchesVersions 0.6.1 and newer of astral-tokio-tar use WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. Users should experience no breaking changes as a result of the patch above. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev
GHSA-fp55-jw48-c537
RUSTSEC-2026-0112
May 06, 2026
astral-tokio-tar is Vulnerable to PAX Header Desynchronization
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.1 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. See GHSA-j5gw-2vrg-8fgx for a similar desynchronization bug in astral-tokio-tar. PatchesVersions 0.6.1 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev |
0.6.0
unknown
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
0.5.6
unknown
4 CVEs
GHSA-3cv2-h65g-fgmm
RUSTSEC-2026-0145
May 29, 2026
astral-tokio-tar has a PAX Header Desynchronization issue
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.2 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. DetailsWhen a tar stream contains multiple "header" entries prior to a file entry, astral-tokio-tar applies the PAX header ( Per POSIX pax, this is incorrect: a PAX header always applies to a file entry, not any intermediary entries. See the "pax Header Block" section for the specific prescription there. As a result of this, an attacker can contrive a tar containing a sequence of tar headers such that astral-tokio-tar applies the PAX header's size extension to the next header in sequence, effectively desynchronizing the stream and enabling astral-tokio-tar specific skippage/extraction of members. In other words, a file can be contrived to extract differently on astral-tokio-tar than on other tar parsers. PatchesVersions 0.6.2 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Fixed in
0.6.2
References Updated May 29, 2026 · Source: OSV.dev
GHSA-xx64-wwv2-hcqq
RUSTSEC-2026-0113
May 06, 2026
astral-tokio-tar: `unpack_in` can chmod arbitrary directories by following symlinks
Low
Network
Low
None
None
ImpactIn versions 0.6.0 and earlier of astral-tokio-tar, the See GHSA-j4xf-2g29-59ph for the equivalent flaw in the PatchesVersions 0.6.1 and newer of astral-tokio-tar use WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. Users should experience no breaking changes as a result of the patch above. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev
GHSA-fp55-jw48-c537
RUSTSEC-2026-0112
May 06, 2026
astral-tokio-tar is Vulnerable to PAX Header Desynchronization
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.1 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. See GHSA-j5gw-2vrg-8fgx for a similar desynchronization bug in astral-tokio-tar. PatchesVersions 0.6.1 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-32766
GHSA-6gx3-4362-rf54
RUSTSEC-2026-0066
Mar 17, 2026
astral-tokio-tar insufficiently validates PAX extensions during extraction
Medium
Network
High
None
None
ImpactIn versions 0.5.6 and earlier of astral-tokio-tar, 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 having astral-tokio-tar silently skip 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. Consequently this advisory is considered low-severity within astral-tokio-tar itself, as it requires a separate vulnerability against any unrelated tar parser. PatchesVersions 0.6.0 and newer of astral-tokio-tar reject invalid PAX extensions, rather than silently skipping them. WorkaroundsUsers are advised to upgrade to version 0.6.0 or newer to address this advisory. Most users should experience no breaking changes as a result of the patch above. Some users who attempt to extract poorly constructed tar files may experience errors; users should re-construct their tar files with a conforming tar parser. Attribution
Fixed in
0.6.0
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.5.6
unknown
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
0.5.5
unknown
5 CVEs
GHSA-3cv2-h65g-fgmm
RUSTSEC-2026-0145
May 29, 2026
astral-tokio-tar has a PAX Header Desynchronization issue
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.2 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. DetailsWhen a tar stream contains multiple "header" entries prior to a file entry, astral-tokio-tar applies the PAX header ( Per POSIX pax, this is incorrect: a PAX header always applies to a file entry, not any intermediary entries. See the "pax Header Block" section for the specific prescription there. As a result of this, an attacker can contrive a tar containing a sequence of tar headers such that astral-tokio-tar applies the PAX header's size extension to the next header in sequence, effectively desynchronizing the stream and enabling astral-tokio-tar specific skippage/extraction of members. In other words, a file can be contrived to extract differently on astral-tokio-tar than on other tar parsers. PatchesVersions 0.6.2 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Fixed in
0.6.2
References Updated May 29, 2026 · Source: OSV.dev
GHSA-xx64-wwv2-hcqq
RUSTSEC-2026-0113
May 06, 2026
astral-tokio-tar: `unpack_in` can chmod arbitrary directories by following symlinks
Low
Network
Low
None
None
ImpactIn versions 0.6.0 and earlier of astral-tokio-tar, the See GHSA-j4xf-2g29-59ph for the equivalent flaw in the PatchesVersions 0.6.1 and newer of astral-tokio-tar use WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. Users should experience no breaking changes as a result of the patch above. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev
GHSA-fp55-jw48-c537
RUSTSEC-2026-0112
May 06, 2026
astral-tokio-tar is Vulnerable to PAX Header Desynchronization
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.1 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. See GHSA-j5gw-2vrg-8fgx for a similar desynchronization bug in astral-tokio-tar. PatchesVersions 0.6.1 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-32766
GHSA-6gx3-4362-rf54
RUSTSEC-2026-0066
Mar 17, 2026
astral-tokio-tar insufficiently validates PAX extensions during extraction
Medium
Network
High
None
None
ImpactIn versions 0.5.6 and earlier of astral-tokio-tar, 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 having astral-tokio-tar silently skip 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. Consequently this advisory is considered low-severity within astral-tokio-tar itself, as it requires a separate vulnerability against any unrelated tar parser. PatchesVersions 0.6.0 and newer of astral-tokio-tar reject invalid PAX extensions, rather than silently skipping them. WorkaroundsUsers are advised to upgrade to version 0.6.0 or newer to address this advisory. Most users should experience no breaking changes as a result of the patch above. Some users who attempt to extract poorly constructed tar files may experience errors; users should re-construct their tar files with a conforming tar parser. Attribution
Fixed in
0.6.0
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2025-62518
GHSA-j5gw-2vrg-8fgx
RUSTSEC-2025-0110
RUSTSEC-2025-0111
Oct 21, 2025
astral-tokio-tar Vulnerable to PAX Header Desynchronization
8.1
/ 10
High
Network
Low
None
Required
Unchanged
High
High
None
SummaryVersions of This vulnerability was disclosed to multiple Rust tar parsers, all derived from the original DetailsVulnerability DescriptionThe vulnerability stems from inconsistent handling of PAX extended headers versus ustar headers when determining file data boundaries. Specifically:
Attack MechanismWhen a TAR file contains:
This creates a header/data desynchronization where the parser's position becomes misaligned with actual file boundaries. Root Cause
ImpactThe impact of this vulnerability depends on where See GHSA-w476-p2h3-79g9 for how this vulnerability affects WorkaroundsUsers are advised to upgrade to version 0.5.6 or newer to address this advisory. There is no workaround other than upgrading. Timeline| Date | Event | | --- | --- | | Aug 21, 2025 | Vulnerability discovered by Edera Security Team | | Aug 21, 2025 | Initial analysis and PoC confirmed | | Aug 22, 2025 | Maintainers notified (privately) | | Aug 25, 2025 | Private patch and test suite shared | | Oct 7, 2025 | Text freeze for GHSA | | Oct 21, 2025 | Coordinated public disclosure and patched releases | Credits
Fixed in
0.5.6
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.5.5
unknown
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
0.5.4
unknown
5 CVEs
GHSA-3cv2-h65g-fgmm
RUSTSEC-2026-0145
May 29, 2026
astral-tokio-tar has a PAX Header Desynchronization issue
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.2 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. DetailsWhen a tar stream contains multiple "header" entries prior to a file entry, astral-tokio-tar applies the PAX header ( Per POSIX pax, this is incorrect: a PAX header always applies to a file entry, not any intermediary entries. See the "pax Header Block" section for the specific prescription there. As a result of this, an attacker can contrive a tar containing a sequence of tar headers such that astral-tokio-tar applies the PAX header's size extension to the next header in sequence, effectively desynchronizing the stream and enabling astral-tokio-tar specific skippage/extraction of members. In other words, a file can be contrived to extract differently on astral-tokio-tar than on other tar parsers. PatchesVersions 0.6.2 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Fixed in
0.6.2
References Updated May 29, 2026 · Source: OSV.dev
GHSA-xx64-wwv2-hcqq
RUSTSEC-2026-0113
May 06, 2026
astral-tokio-tar: `unpack_in` can chmod arbitrary directories by following symlinks
Low
Network
Low
None
None
ImpactIn versions 0.6.0 and earlier of astral-tokio-tar, the See GHSA-j4xf-2g29-59ph for the equivalent flaw in the PatchesVersions 0.6.1 and newer of astral-tokio-tar use WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. Users should experience no breaking changes as a result of the patch above. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev
GHSA-fp55-jw48-c537
RUSTSEC-2026-0112
May 06, 2026
astral-tokio-tar is Vulnerable to PAX Header Desynchronization
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.1 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. See GHSA-j5gw-2vrg-8fgx for a similar desynchronization bug in astral-tokio-tar. PatchesVersions 0.6.1 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-32766
GHSA-6gx3-4362-rf54
RUSTSEC-2026-0066
Mar 17, 2026
astral-tokio-tar insufficiently validates PAX extensions during extraction
Medium
Network
High
None
None
ImpactIn versions 0.5.6 and earlier of astral-tokio-tar, 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 having astral-tokio-tar silently skip 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. Consequently this advisory is considered low-severity within astral-tokio-tar itself, as it requires a separate vulnerability against any unrelated tar parser. PatchesVersions 0.6.0 and newer of astral-tokio-tar reject invalid PAX extensions, rather than silently skipping them. WorkaroundsUsers are advised to upgrade to version 0.6.0 or newer to address this advisory. Most users should experience no breaking changes as a result of the patch above. Some users who attempt to extract poorly constructed tar files may experience errors; users should re-construct their tar files with a conforming tar parser. Attribution
Fixed in
0.6.0
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2025-62518
GHSA-j5gw-2vrg-8fgx
RUSTSEC-2025-0110
RUSTSEC-2025-0111
Oct 21, 2025
astral-tokio-tar Vulnerable to PAX Header Desynchronization
8.1
/ 10
High
Network
Low
None
Required
Unchanged
High
High
None
SummaryVersions of This vulnerability was disclosed to multiple Rust tar parsers, all derived from the original DetailsVulnerability DescriptionThe vulnerability stems from inconsistent handling of PAX extended headers versus ustar headers when determining file data boundaries. Specifically:
Attack MechanismWhen a TAR file contains:
This creates a header/data desynchronization where the parser's position becomes misaligned with actual file boundaries. Root Cause
ImpactThe impact of this vulnerability depends on where See GHSA-w476-p2h3-79g9 for how this vulnerability affects WorkaroundsUsers are advised to upgrade to version 0.5.6 or newer to address this advisory. There is no workaround other than upgrading. Timeline| Date | Event | | --- | --- | | Aug 21, 2025 | Vulnerability discovered by Edera Security Team | | Aug 21, 2025 | Initial analysis and PoC confirmed | | Aug 22, 2025 | Maintainers notified (privately) | | Aug 25, 2025 | Private patch and test suite shared | | Oct 7, 2025 | Text freeze for GHSA | | Oct 21, 2025 | Coordinated public disclosure and patched releases | Credits
Fixed in
0.5.6
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.5.4
unknown
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
0.5.3
unknown
6 CVEs
GHSA-3cv2-h65g-fgmm
RUSTSEC-2026-0145
May 29, 2026
astral-tokio-tar has a PAX Header Desynchronization issue
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.2 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. DetailsWhen a tar stream contains multiple "header" entries prior to a file entry, astral-tokio-tar applies the PAX header ( Per POSIX pax, this is incorrect: a PAX header always applies to a file entry, not any intermediary entries. See the "pax Header Block" section for the specific prescription there. As a result of this, an attacker can contrive a tar containing a sequence of tar headers such that astral-tokio-tar applies the PAX header's size extension to the next header in sequence, effectively desynchronizing the stream and enabling astral-tokio-tar specific skippage/extraction of members. In other words, a file can be contrived to extract differently on astral-tokio-tar than on other tar parsers. PatchesVersions 0.6.2 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Fixed in
0.6.2
References Updated May 29, 2026 · Source: OSV.dev
GHSA-xx64-wwv2-hcqq
RUSTSEC-2026-0113
May 06, 2026
astral-tokio-tar: `unpack_in` can chmod arbitrary directories by following symlinks
Low
Network
Low
None
None
ImpactIn versions 0.6.0 and earlier of astral-tokio-tar, the See GHSA-j4xf-2g29-59ph for the equivalent flaw in the PatchesVersions 0.6.1 and newer of astral-tokio-tar use WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. Users should experience no breaking changes as a result of the patch above. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev
GHSA-fp55-jw48-c537
RUSTSEC-2026-0112
May 06, 2026
astral-tokio-tar is Vulnerable to PAX Header Desynchronization
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.1 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. See GHSA-j5gw-2vrg-8fgx for a similar desynchronization bug in astral-tokio-tar. PatchesVersions 0.6.1 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-32766
GHSA-6gx3-4362-rf54
RUSTSEC-2026-0066
Mar 17, 2026
astral-tokio-tar insufficiently validates PAX extensions during extraction
Medium
Network
High
None
None
ImpactIn versions 0.5.6 and earlier of astral-tokio-tar, 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 having astral-tokio-tar silently skip 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. Consequently this advisory is considered low-severity within astral-tokio-tar itself, as it requires a separate vulnerability against any unrelated tar parser. PatchesVersions 0.6.0 and newer of astral-tokio-tar reject invalid PAX extensions, rather than silently skipping them. WorkaroundsUsers are advised to upgrade to version 0.6.0 or newer to address this advisory. Most users should experience no breaking changes as a result of the patch above. Some users who attempt to extract poorly constructed tar files may experience errors; users should re-construct their tar files with a conforming tar parser. Attribution
Fixed in
0.6.0
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2025-62518
GHSA-j5gw-2vrg-8fgx
RUSTSEC-2025-0110
RUSTSEC-2025-0111
Oct 21, 2025
astral-tokio-tar Vulnerable to PAX Header Desynchronization
8.1
/ 10
High
Network
Low
None
Required
Unchanged
High
High
None
SummaryVersions of This vulnerability was disclosed to multiple Rust tar parsers, all derived from the original DetailsVulnerability DescriptionThe vulnerability stems from inconsistent handling of PAX extended headers versus ustar headers when determining file data boundaries. Specifically:
Attack MechanismWhen a TAR file contains:
This creates a header/data desynchronization where the parser's position becomes misaligned with actual file boundaries. Root Cause
ImpactThe impact of this vulnerability depends on where See GHSA-w476-p2h3-79g9 for how this vulnerability affects WorkaroundsUsers are advised to upgrade to version 0.5.6 or newer to address this advisory. There is no workaround other than upgrading. Timeline| Date | Event | | --- | --- | | Aug 21, 2025 | Vulnerability discovered by Edera Security Team | | Aug 21, 2025 | Initial analysis and PoC confirmed | | Aug 22, 2025 | Maintainers notified (privately) | | Aug 25, 2025 | Private patch and test suite shared | | Oct 7, 2025 | Text freeze for GHSA | | Oct 21, 2025 | Coordinated public disclosure and patched releases | Credits
Fixed in
0.5.6
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2025-59825
GHSA-3wgq-wrwc-vqmv
Sep 23, 2025
astral-tokio-tar has a path traversal in tar extraction
Medium
Local
Low
None
None
ImpactIn versions 0.5.3 and earlier of astral-tokio-tar, tar archives may extract outside of their intended destination directory when using the These behaviors could be used individually or combined to bypass the intended security control of limiting extraction to the given directory. This in turn would allow an attacker with a malicious tar archive to perform an arbitrary file write and potentially pivot into code execution (e.g. by overwriting a file that the user or system then executes or uses to execute code). The impact of this vulnerability for downstream API users of this crate is high, per above. However, for this crate's main downstream user (uv), the impact of this vulnerability is low due to its overlap with equivalent user capabilities in source distributions. See GHSA-7j9j-68r2-f35q for additional details. PatchesVersions 0.5.4 and newer of astral-tokio-tar address the vulnerability above. Users should upgrade to 0.5.4 or newer. WorkaroundsUsers are advised to upgrade to version 0.5.4 or newer to address this advisory. There is no workaround other than upgrading. References
Fixed in
0.5.4
References
Updated Nov 18, 2025 · Source: OSV.dev |
0.5.3
unknown
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
0.5.2
unknown
6 CVEs
GHSA-3cv2-h65g-fgmm
RUSTSEC-2026-0145
May 29, 2026
astral-tokio-tar has a PAX Header Desynchronization issue
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.2 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. DetailsWhen a tar stream contains multiple "header" entries prior to a file entry, astral-tokio-tar applies the PAX header ( Per POSIX pax, this is incorrect: a PAX header always applies to a file entry, not any intermediary entries. See the "pax Header Block" section for the specific prescription there. As a result of this, an attacker can contrive a tar containing a sequence of tar headers such that astral-tokio-tar applies the PAX header's size extension to the next header in sequence, effectively desynchronizing the stream and enabling astral-tokio-tar specific skippage/extraction of members. In other words, a file can be contrived to extract differently on astral-tokio-tar than on other tar parsers. PatchesVersions 0.6.2 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Fixed in
0.6.2
References Updated May 29, 2026 · Source: OSV.dev
GHSA-xx64-wwv2-hcqq
RUSTSEC-2026-0113
May 06, 2026
astral-tokio-tar: `unpack_in` can chmod arbitrary directories by following symlinks
Low
Network
Low
None
None
ImpactIn versions 0.6.0 and earlier of astral-tokio-tar, the See GHSA-j4xf-2g29-59ph for the equivalent flaw in the PatchesVersions 0.6.1 and newer of astral-tokio-tar use WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. Users should experience no breaking changes as a result of the patch above. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev
GHSA-fp55-jw48-c537
RUSTSEC-2026-0112
May 06, 2026
astral-tokio-tar is Vulnerable to PAX Header Desynchronization
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.1 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. See GHSA-j5gw-2vrg-8fgx for a similar desynchronization bug in astral-tokio-tar. PatchesVersions 0.6.1 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-32766
GHSA-6gx3-4362-rf54
RUSTSEC-2026-0066
Mar 17, 2026
astral-tokio-tar insufficiently validates PAX extensions during extraction
Medium
Network
High
None
None
ImpactIn versions 0.5.6 and earlier of astral-tokio-tar, 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 having astral-tokio-tar silently skip 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. Consequently this advisory is considered low-severity within astral-tokio-tar itself, as it requires a separate vulnerability against any unrelated tar parser. PatchesVersions 0.6.0 and newer of astral-tokio-tar reject invalid PAX extensions, rather than silently skipping them. WorkaroundsUsers are advised to upgrade to version 0.6.0 or newer to address this advisory. Most users should experience no breaking changes as a result of the patch above. Some users who attempt to extract poorly constructed tar files may experience errors; users should re-construct their tar files with a conforming tar parser. Attribution
Fixed in
0.6.0
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2025-62518
GHSA-j5gw-2vrg-8fgx
RUSTSEC-2025-0110
RUSTSEC-2025-0111
Oct 21, 2025
astral-tokio-tar Vulnerable to PAX Header Desynchronization
8.1
/ 10
High
Network
Low
None
Required
Unchanged
High
High
None
SummaryVersions of This vulnerability was disclosed to multiple Rust tar parsers, all derived from the original DetailsVulnerability DescriptionThe vulnerability stems from inconsistent handling of PAX extended headers versus ustar headers when determining file data boundaries. Specifically:
Attack MechanismWhen a TAR file contains:
This creates a header/data desynchronization where the parser's position becomes misaligned with actual file boundaries. Root Cause
ImpactThe impact of this vulnerability depends on where See GHSA-w476-p2h3-79g9 for how this vulnerability affects WorkaroundsUsers are advised to upgrade to version 0.5.6 or newer to address this advisory. There is no workaround other than upgrading. Timeline| Date | Event | | --- | --- | | Aug 21, 2025 | Vulnerability discovered by Edera Security Team | | Aug 21, 2025 | Initial analysis and PoC confirmed | | Aug 22, 2025 | Maintainers notified (privately) | | Aug 25, 2025 | Private patch and test suite shared | | Oct 7, 2025 | Text freeze for GHSA | | Oct 21, 2025 | Coordinated public disclosure and patched releases | Credits
Fixed in
0.5.6
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2025-59825
GHSA-3wgq-wrwc-vqmv
Sep 23, 2025
astral-tokio-tar has a path traversal in tar extraction
Medium
Local
Low
None
None
ImpactIn versions 0.5.3 and earlier of astral-tokio-tar, tar archives may extract outside of their intended destination directory when using the These behaviors could be used individually or combined to bypass the intended security control of limiting extraction to the given directory. This in turn would allow an attacker with a malicious tar archive to perform an arbitrary file write and potentially pivot into code execution (e.g. by overwriting a file that the user or system then executes or uses to execute code). The impact of this vulnerability for downstream API users of this crate is high, per above. However, for this crate's main downstream user (uv), the impact of this vulnerability is low due to its overlap with equivalent user capabilities in source distributions. See GHSA-7j9j-68r2-f35q for additional details. PatchesVersions 0.5.4 and newer of astral-tokio-tar address the vulnerability above. Users should upgrade to 0.5.4 or newer. WorkaroundsUsers are advised to upgrade to version 0.5.4 or newer to address this advisory. There is no workaround other than upgrading. References
Fixed in
0.5.4
References
Updated Nov 18, 2025 · Source: OSV.dev |
0.5.2
unknown
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
0.5.1
unknown
6 CVEs
GHSA-3cv2-h65g-fgmm
RUSTSEC-2026-0145
May 29, 2026
astral-tokio-tar has a PAX Header Desynchronization issue
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.2 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. DetailsWhen a tar stream contains multiple "header" entries prior to a file entry, astral-tokio-tar applies the PAX header ( Per POSIX pax, this is incorrect: a PAX header always applies to a file entry, not any intermediary entries. See the "pax Header Block" section for the specific prescription there. As a result of this, an attacker can contrive a tar containing a sequence of tar headers such that astral-tokio-tar applies the PAX header's size extension to the next header in sequence, effectively desynchronizing the stream and enabling astral-tokio-tar specific skippage/extraction of members. In other words, a file can be contrived to extract differently on astral-tokio-tar than on other tar parsers. PatchesVersions 0.6.2 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Fixed in
0.6.2
References Updated May 29, 2026 · Source: OSV.dev
GHSA-xx64-wwv2-hcqq
RUSTSEC-2026-0113
May 06, 2026
astral-tokio-tar: `unpack_in` can chmod arbitrary directories by following symlinks
Low
Network
Low
None
None
ImpactIn versions 0.6.0 and earlier of astral-tokio-tar, the See GHSA-j4xf-2g29-59ph for the equivalent flaw in the PatchesVersions 0.6.1 and newer of astral-tokio-tar use WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. Users should experience no breaking changes as a result of the patch above. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev
GHSA-fp55-jw48-c537
RUSTSEC-2026-0112
May 06, 2026
astral-tokio-tar is Vulnerable to PAX Header Desynchronization
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.1 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. See GHSA-j5gw-2vrg-8fgx for a similar desynchronization bug in astral-tokio-tar. PatchesVersions 0.6.1 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-32766
GHSA-6gx3-4362-rf54
RUSTSEC-2026-0066
Mar 17, 2026
astral-tokio-tar insufficiently validates PAX extensions during extraction
Medium
Network
High
None
None
ImpactIn versions 0.5.6 and earlier of astral-tokio-tar, 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 having astral-tokio-tar silently skip 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. Consequently this advisory is considered low-severity within astral-tokio-tar itself, as it requires a separate vulnerability against any unrelated tar parser. PatchesVersions 0.6.0 and newer of astral-tokio-tar reject invalid PAX extensions, rather than silently skipping them. WorkaroundsUsers are advised to upgrade to version 0.6.0 or newer to address this advisory. Most users should experience no breaking changes as a result of the patch above. Some users who attempt to extract poorly constructed tar files may experience errors; users should re-construct their tar files with a conforming tar parser. Attribution
Fixed in
0.6.0
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2025-62518
GHSA-j5gw-2vrg-8fgx
RUSTSEC-2025-0110
RUSTSEC-2025-0111
Oct 21, 2025
astral-tokio-tar Vulnerable to PAX Header Desynchronization
8.1
/ 10
High
Network
Low
None
Required
Unchanged
High
High
None
SummaryVersions of This vulnerability was disclosed to multiple Rust tar parsers, all derived from the original DetailsVulnerability DescriptionThe vulnerability stems from inconsistent handling of PAX extended headers versus ustar headers when determining file data boundaries. Specifically:
Attack MechanismWhen a TAR file contains:
This creates a header/data desynchronization where the parser's position becomes misaligned with actual file boundaries. Root Cause
ImpactThe impact of this vulnerability depends on where See GHSA-w476-p2h3-79g9 for how this vulnerability affects WorkaroundsUsers are advised to upgrade to version 0.5.6 or newer to address this advisory. There is no workaround other than upgrading. Timeline| Date | Event | | --- | --- | | Aug 21, 2025 | Vulnerability discovered by Edera Security Team | | Aug 21, 2025 | Initial analysis and PoC confirmed | | Aug 22, 2025 | Maintainers notified (privately) | | Aug 25, 2025 | Private patch and test suite shared | | Oct 7, 2025 | Text freeze for GHSA | | Oct 21, 2025 | Coordinated public disclosure and patched releases | Credits
Fixed in
0.5.6
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2025-59825
GHSA-3wgq-wrwc-vqmv
Sep 23, 2025
astral-tokio-tar has a path traversal in tar extraction
Medium
Local
Low
None
None
ImpactIn versions 0.5.3 and earlier of astral-tokio-tar, tar archives may extract outside of their intended destination directory when using the These behaviors could be used individually or combined to bypass the intended security control of limiting extraction to the given directory. This in turn would allow an attacker with a malicious tar archive to perform an arbitrary file write and potentially pivot into code execution (e.g. by overwriting a file that the user or system then executes or uses to execute code). The impact of this vulnerability for downstream API users of this crate is high, per above. However, for this crate's main downstream user (uv), the impact of this vulnerability is low due to its overlap with equivalent user capabilities in source distributions. See GHSA-7j9j-68r2-f35q for additional details. PatchesVersions 0.5.4 and newer of astral-tokio-tar address the vulnerability above. Users should upgrade to 0.5.4 or newer. WorkaroundsUsers are advised to upgrade to version 0.5.4 or newer to address this advisory. There is no workaround other than upgrading. References
Fixed in
0.5.4
References
Updated Nov 18, 2025 · Source: OSV.dev |
0.5.1
unknown
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
0.5.0
unknown
6 CVEs
GHSA-3cv2-h65g-fgmm
RUSTSEC-2026-0145
May 29, 2026
astral-tokio-tar has a PAX Header Desynchronization issue
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.2 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. DetailsWhen a tar stream contains multiple "header" entries prior to a file entry, astral-tokio-tar applies the PAX header ( Per POSIX pax, this is incorrect: a PAX header always applies to a file entry, not any intermediary entries. See the "pax Header Block" section for the specific prescription there. As a result of this, an attacker can contrive a tar containing a sequence of tar headers such that astral-tokio-tar applies the PAX header's size extension to the next header in sequence, effectively desynchronizing the stream and enabling astral-tokio-tar specific skippage/extraction of members. In other words, a file can be contrived to extract differently on astral-tokio-tar than on other tar parsers. PatchesVersions 0.6.2 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Fixed in
0.6.2
References Updated May 29, 2026 · Source: OSV.dev
GHSA-xx64-wwv2-hcqq
RUSTSEC-2026-0113
May 06, 2026
astral-tokio-tar: `unpack_in` can chmod arbitrary directories by following symlinks
Low
Network
Low
None
None
ImpactIn versions 0.6.0 and earlier of astral-tokio-tar, the See GHSA-j4xf-2g29-59ph for the equivalent flaw in the PatchesVersions 0.6.1 and newer of astral-tokio-tar use WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. Users should experience no breaking changes as a result of the patch above. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev
GHSA-fp55-jw48-c537
RUSTSEC-2026-0112
May 06, 2026
astral-tokio-tar is Vulnerable to PAX Header Desynchronization
Medium
Network
Low
None
None
ImpactVersions of astral-tokio-tar prior to 0.6.1 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem. See GHSA-j5gw-2vrg-8fgx for a similar desynchronization bug in astral-tokio-tar. PatchesVersions 0.6.1 and newer of astral-tokio-tar address this differential. WorkaroundsUsers are advised to upgrade to version 0.6.1 or newer to address this advisory. There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade. Resources
Attribution
Fixed in
0.6.1
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-32766
GHSA-6gx3-4362-rf54
RUSTSEC-2026-0066
Mar 17, 2026
astral-tokio-tar insufficiently validates PAX extensions during extraction
Medium
Network
High
None
None
ImpactIn versions 0.5.6 and earlier of astral-tokio-tar, 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 having astral-tokio-tar silently skip 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. Consequently this advisory is considered low-severity within astral-tokio-tar itself, as it requires a separate vulnerability against any unrelated tar parser. PatchesVersions 0.6.0 and newer of astral-tokio-tar reject invalid PAX extensions, rather than silently skipping them. WorkaroundsUsers are advised to upgrade to version 0.6.0 or newer to address this advisory. Most users should experience no breaking changes as a result of the patch above. Some users who attempt to extract poorly constructed tar files may experience errors; users should re-construct their tar files with a conforming tar parser. Attribution
Fixed in
0.6.0
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2025-62518
GHSA-j5gw-2vrg-8fgx
RUSTSEC-2025-0110
RUSTSEC-2025-0111
Oct 21, 2025
astral-tokio-tar Vulnerable to PAX Header Desynchronization
8.1
/ 10
High
Network
Low
None
Required
Unchanged
High
High
None
SummaryVersions of This vulnerability was disclosed to multiple Rust tar parsers, all derived from the original DetailsVulnerability DescriptionThe vulnerability stems from inconsistent handling of PAX extended headers versus ustar headers when determining file data boundaries. Specifically:
Attack MechanismWhen a TAR file contains:
This creates a header/data desynchronization where the parser's position becomes misaligned with actual file boundaries. Root Cause
ImpactThe impact of this vulnerability depends on where See GHSA-w476-p2h3-79g9 for how this vulnerability affects WorkaroundsUsers are advised to upgrade to version 0.5.6 or newer to address this advisory. There is no workaround other than upgrading. Timeline| Date | Event | | --- | --- | | Aug 21, 2025 | Vulnerability discovered by Edera Security Team | | Aug 21, 2025 | Initial analysis and PoC confirmed | | Aug 22, 2025 | Maintainers notified (privately) | | Aug 25, 2025 | Private patch and test suite shared | | Oct 7, 2025 | Text freeze for GHSA | | Oct 21, 2025 | Coordinated public disclosure and patched releases | Credits
Fixed in
0.5.6
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2025-59825
GHSA-3wgq-wrwc-vqmv
Sep 23, 2025
astral-tokio-tar has a path traversal in tar extraction
Medium
Local
Low
None
None
ImpactIn versions 0.5.3 and earlier of astral-tokio-tar, tar archives may extract outside of their intended destination directory when using the These behaviors could be used individually or combined to bypass the intended security control of limiting extraction to the given directory. This in turn would allow an attacker with a malicious tar archive to perform an arbitrary file write and potentially pivot into code execution (e.g. by overwriting a file that the user or system then executes or uses to execute code). The impact of this vulnerability for downstream API users of this crate is high, per above. However, for this crate's main downstream user (uv), the impact of this vulnerability is low due to its overlap with equivalent user capabilities in source distributions. See GHSA-7j9j-68r2-f35q for additional details. PatchesVersions 0.5.4 and newer of astral-tokio-tar address the vulnerability above. Users should upgrade to 0.5.4 or newer. WorkaroundsUsers are advised to upgrade to version 0.5.4 or newer to address this advisory. There is no workaround other than upgrading. References
Fixed in
0.5.4
References
Updated Nov 18, 2025 · Source: OSV.dev |