tar
Activity
- Latest release
- 3mo ago
- Total releases
- 81
- Cadence
- ~44 days
- Last 12 months
- 2
Details
- License
- MIT OR Apache-2.0
- First release
- Nov 11, 2014
| Version | Released | |
|---|---|---|
0.4.46
unknown
|
0.4.46
unknown
Dependencies (8)
|
|
0.4.45
unknown
1 CVE
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev |
0.4.45
unknown
Dependencies (8)
|
|
0.4.44
unknown
3 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.4.44
unknown
Dependencies (4)
|
|
0.4.43
unknown
3 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.4.43
unknown
Dependencies (4)
|
|
0.4.42
unknown
3 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.4.42
unknown
Dependencies (4)
|
|
0.4.41
unknown
3 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.4.41
unknown
Dependencies (4)
|
|
0.4.40
unknown
3 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.4.40
unknown
Dependencies (4)
|
|
0.4.39
unknown
3 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.4.39
unknown
Dependencies (4)
|
|
0.4.38
unknown
3 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.4.38
unknown
Dependencies (4)
|
|
0.4.37
unknown
3 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.4.37
unknown
Dependencies (4)
|
|
0.4.36
unknown
3 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev |
0.4.36
unknown
Dependencies (4)
|
|
0.4.35
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.35
unknown
Dependencies (4)
|
|
0.4.34
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.34
unknown
Dependencies (4)
|
|
0.4.33
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.33
unknown
Dependencies (4)
|
|
0.4.32
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.32
unknown
Dependencies (4)
|
|
0.4.31
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.31
unknown
Dependencies (4)
|
|
0.4.30
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.30
unknown
Dependencies (5)
|
|
0.4.29
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.29
unknown
Dependencies (5)
|
|
0.4.28
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.28
unknown
Dependencies (5)
|
|
0.4.27
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.27
unknown
Dependencies (5)
|
|
0.4.26
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.26
unknown
Dependencies (5)
|
|
0.4.25
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.25
unknown
Dependencies (5)
|
|
0.4.24
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.24
unknown
Dependencies (5)
|
|
0.4.23
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.23
unknown
Dependencies (5)
|
|
0.4.22
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.22
unknown
Dependencies (5)
|
|
0.4.21
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.21
unknown
Dependencies (5)
|
|
0.4.20
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.20
unknown
Dependencies (5)
|
|
0.4.19
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.19
unknown
Dependencies (5)
|
|
0.4.18
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.18
unknown
Dependencies (5)
|
|
0.4.17
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.17
unknown
Dependencies (5)
|
|
0.4.16
unknown
4 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.4.16
unknown
Dependencies (5)
|
|
0.4.15
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.15
unknown
Dependencies (5)
|
|
0.4.14
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.14
unknown
Dependencies (5)
|
|
0.4.13
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.13
unknown
Dependencies (4)
|
|
0.4.12
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.12
unknown
Dependencies (4)
|
|
0.4.11
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.11
unknown
Dependencies (4)
|
|
0.4.10
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.10
unknown
Dependencies (4)
|
|
0.4.9
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.9
unknown
Dependencies (4)
|
|
0.4.8
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.8
unknown
Dependencies (4)
|
|
0.4.7
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.7
unknown
Dependencies (4)
|
|
0.4.6
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.6
unknown
Dependencies (3)
|
|
0.4.5
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.5
unknown
Dependencies (3)
|
|
0.4.4
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.4
unknown
Dependencies (3)
|
|
0.3.4
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.3.4
unknown
Dependencies (4)
|
|
0.4.3
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.3
unknown
Dependencies (3)
|
|
0.4.2
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.2
unknown
Dependencies (3)
|
|
0.4.0
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.0
unknown
Dependencies (4)
|
|
0.3.3
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.3.3
unknown
Dependencies (4)
|
|
0.3.2
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.3.2
unknown
Dependencies (4)
|
|
0.3.1
unknown
5 CVEs
GHSA-3pv8-6f4r-ffg2
May 29, 2026
tar has a PAX header desynchronization issue
Medium
SummaryWhen a tar stream contains multiple "header" entries prior to a file entry, tar-rs 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 tar-rs applies the PAX header's PoCThis tar (zipped for size) demonstrates the desynchronization: with
with
In the above case, the PoC is not weaponized, so it jumps into the middle of an entry and subsequently fails the checksum test rather than silently continuing with attacker-controlled archive state. ImpactThis is very similar to GHSA-j5gw-2vrg-8fgx and GHSA-fp55-jw48-c537 in impact -- an attacker can use this to extract (or not extract) files from a tar stream depending on the tar parser used, which in turn can be used to obscure the presence of malicious files. Fixed in
0.4.46
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33056
GHSA-j4xf-2g29-59ph
RUSTSEC-2026-0067
Mar 20, 2026
tar-rs `unpack_in` can chmod arbitrary directories by following symlinks
Medium
Network
Low
None
SummaryWhen unpacking a tar archive, the ReproducerA malicious tarball contains two entries: (1) a symlink FixThe fix is very simple, we now use CreditThis issue was reported by @xokdvium - thank you! Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33055
GHSA-gchp-q4r4-x4ff
RUSTSEC-2026-0068
Mar 20, 2026
tar-rs incorrectly ignores PAX size headers if header size is nonzero
Medium
Network
Low
None
SummaryAs part of CVE-2025-62518 the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. However, it was missed at the time that this project (the original Rust The problem here is that any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust Detailshttps://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344 PoC(originally posted by https://github.com/xokdvium)
It seems like recent fixes to https://edera.dev/stories/tarmageddon have introduced a differential that could be used to smuggle symlinks into the registry that would get skipped over by https://github.com/astral-sh/tokio-tar/blob/aafc2926f2034d6b3ad108e52d4cfc73df5d47a4/src/archive.rs#L578-L600 https://github.com/alexcrichton/tar-rs/blob/88b1e3b0da65b0c5b9750d1a75516145488f4793/src/archive.rs#L339-L344
ImpactThis can affect anything that uses the Fixed in
0.4.45
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2021-38511
GHSA-62jx-8vmh-4mcw
RUSTSEC-2021-0080
Aug 25, 2021
Links in archive can create arbitrary directories
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. Fixed in
0.4.36
References
Updated Nov 08, 2023 · Source: OSV.dev
CVE-2018-20990
GHSA-2367-c296-3mp2
RUSTSEC-2018-0002
Aug 25, 2021
Arbitrary file overwrite in tar-rs
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
When unpacking a tarball with the unpack_in-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the same file. A tarball which first contains an entry for a hard link or symlink pointing to any file on the filesystem will have the link created, and then afterwards if the same file is listed in the tarball the hard link will be rewritten and any file can be rewritten on the filesystem. Fixed in
0.4.16
References Updated Nov 08, 2023 · Source: OSV.dev |
0.3.1
unknown
Dependencies (3)
|