CVE-2026-33055Alexcrichton Tar-rs
Medium 5.1 No auth needed
Follow: this CVE · Alexcrichton · Alexcrichton Tar-rs We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 4.0
- 5.1
- EPSS
- —
- Auth required
- No
- Published
- Mar 20, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-843
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
tar-rs is a tar archive reading/writing library for Rust. Versions 0.4.44 and below have conditional logic that skips the PAX size header in cases where the base header size is nonzero. As 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. This is almost the inverse of the astral-tokio-tar issue. 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 tar) crate is an outlier in checking for the header size - other tar parsers (including e.g. Go archive/tar) unconditionally use the PAX size override. This can affect anything that uses the tar crate to parse archives and expects to have a consistent view with other parsers. This issue has been fixed in version 0.4.45.
What to do
- Apply the vendor's security update for Tar-rs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | tar |
< 0.4.45 |
0.4.45 |
cargo update -p tar --precise 0.4.45 |
| crates.io | tar |
≥ 0.0.0-0 < 0.4.45 |
0.4.45 |
cargo update -p tar --precise 0.4.45 |
Per OSV / GitHub Advisories (GHSA-gchp-q4r4-x4ff, RUSTSEC-2026-0068). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| alexcrichton | tar-rs | < 0.4.45 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory
- www.cve.org Third Party Advisory