Install
tar
A Rust implementation of a TAR file reader and writer. This library does not currently handle compression, but it is abstract over all I/O readers and writers. Additionally, great lengths are taken to ensure that the entire contents are never required to be entirely resident in memory all at once.
0.4.46Latest, 18 May 2026
91MDownloads, last 90 days
0Advisories on the latest
9Advisories, all versions
MIT OR Apache-2.0Licence
748Stars
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Moderate | tar has a PAX header desynchronization issue GHSA-3pv8-6f4r-ffg2 | Fixed in 0.4.46 | 29 May 2026 |
| Moderate | tar-rs incorrectly ignores PAX size headers if header size is nonzero CVE-2026-33055 | Fixed in 0.4.45 | 20 Mar 2026 |
| Moderate | tar-rs `unpack_in` can chmod arbitrary directories by following symlinks CVE-2026-33056 | Fixed in 0.4.45 | 20 Mar 2026 |
| `unpack_in` can chmod arbitrary directories by following symlinks CVE-2026-33056 | Fixed in 0.4.45 | 19 Mar 2026 | |
| tar-rs incorrectly ignores PAX size headers if header size is nonzero CVE-2026-33055 | Fixed in 0.4.45 | 19 Mar 2026 | |
| High | Arbitrary file overwrite in tar-rs CVE-2018-20990 | Fixed in 0.4.16 | 25 Aug 2021 |
| High | Links in archive can create arbitrary directories CVE-2021-38511 | Fixed in 0.4.36 | 25 Aug 2021 |
| Links in archive can create arbitrary directories CVE-2021-38511 | Fixed in 0.4.36 | 19 Jul 2021 | |
| Links in archives can overwrite any existing file CVE-2018-20990 | Fixed in 0.4.16 | 29 Jun 2018 |
In the news
- uv 0.13's tar-codec backend installs a 6,000-file sdist in 2.5 seconds instead of 3.8 dev.to, 15 Nov 2026
- I-95 Chesterfield Crash Spills Tar, Shuts Southbound Lanes hoodline.com, 9 Nov 2026
- ANC disputes deepen as MKP targets E Cape stronghold pressreader.com, 18 Oct 2026
- Axarqu??a wildfire extinguished after burning two hectares of land in C??tar surinenglish.com, 10 Sep 2026
- Foliar disease update: Telenko shares latest on tar spot, southern corn rust agrinews-pubs.com, 18 Aug 2026
On Hacker News
- Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz 684 points, 139 comments, 2 Dec 2020
- Why are tar.xz files 15x smaller when using Python's tar compared to macOS tar? 505 points, 150 comments, 14 Mar 2021
- The tar archive format, and why GNU tar extracts in quadratic time 317 points, 133 comments, 23 Jul 2022
- Show HN: Rga: ripgrep, but also search in PDFs, Office documents, zip, tar.gz 284 points, 65 comments, 16 Jun 2019
Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.