# CVE-2026-33055: tar-rs incorrectly ignores PAX size headers if header size is nonzero

- Severity: Medium 5.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-19T12:00:00.000Z
- Modified: 2026-09-10T03:50:39.204Z
- Also known as: GHSA-gchp-q4r4-x4ff, RUSTSEC-2026-0068
- Weaknesses: CWE-843
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- alexcrichton tar-rs: < 0.4.45; before 0.4.45
- tar (crates.io): before 0.4.45; from 0.0.0-0 before 0.4.45

## Every score

- GitHub_M: CVSS:4.0 5.1 Medium `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`
- GitHub: CVSS:3.1 8.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Medium `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`
- RustSec Advisory Database: CVSS:4.0 `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`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/alexcrichton/tar-rs/security/advisories/GHSA-gchp-q4r4-x4ff> (exploit, vendor-advisory, web)
- <https://github.com/alexcrichton/tar-rs/commit/de1a5870e603758f430073688691165f21a33946> (patch, web)
- <https://www.cve.org/CVERecord?id=CVE-2025-62518> (third-party-advisory, web)
- <https://github.com/composefs/tar-rs/security/advisories/GHSA-gchp-q4r4-x4ff> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33055> (advisory)
- <https://github.com/alexcrichton/tar-rs> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0068.html> (advisory, web)
- <https://crates.io/crates/tar> (package)

## Sources

- CVE List: [CVE-2026-33055](https://www.cve.org/CVERecord?id=CVE-2026-33055), CVE Terms of Use, modified 2026-03-20
- GitHub Advisory Database: [GHSA-gchp-q4r4-x4ff](https://github.com/advisories/GHSA-gchp-q4r4-x4ff), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2026-0068](https://rustsec.org/advisories/RUSTSEC-2026-0068.html), CC0-1.0, modified 2026-03-23
- NVD: [CVE-2026-33055](https://nvd.nist.gov/vuln/detail/CVE-2026-33055), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33055 · Whole record: https://cve.day/CVE-2026-33055.json · Rebuilt by cve.day 2026-11-25T22:59:16.289Z
