{"id":"CVE-2026-33055","published":"2026-03-20T07:06:08Z","modified":"2026-03-20T15:44:15Z","title":"tar-rs incorrectly ignores PAX size headers if header size is nonzero","vendor":"alexcrichton","product":"tar-rs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00462,"percentile":0.40974,"provenance":"source"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"references":[{"url":"https://github.com/alexcrichton/tar-rs/security/advisories/GHSA-gchp-q4r4-x4ff","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/alexcrichton/tar-rs/commit/de1a5870e603758f430073688691165f21a33946","tags":["x_refsource_MISC"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-62518","tags":["x_refsource_MISC"]}],"priority":{"score":11.8,"factors":[{"name":"EPSS percentile","points":8.19},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"alexcrichton","affectedVersions":[{"vendor":"alexcrichton","product":"tar-rs","versions":["< 0.4.45"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-20T15:43:55.137601Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"tar","vulnerableRanges":["<0.4.45",">=0.0.0-0, <0.4.45"],"patched":["0.4.45"],"from":["GHSA-gchp-q4r4-x4ff","RUSTSEC-2026-0068"],"provenance":"source"}],"summary":{"text":"The tar-rs Rust crate, a tar archive reading and writing library, versions 0.4.44 and below, incorrectly skips the PAX size header when the base header size is nonzero, so it parses file sizes differently from other tar parsers such as Go's archive/tar. An attacker can craft an archive whose contents appear differently when unpacked by tar-rs than by other archivers, which affects software that uses the crate to parse archives and expects a consistent view with other parsers; the attack requires network access and user interaction, with no authentication or special configuration needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:05Z"},"euvd":{"id":"EUVD-2026-13596","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-astral-sh-tokio-tar-cve-2025-62518","parents":[{"from":"CVE-2025-62518","to":"CVE-2026-33055","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-gchp-q4r4-x4ff","via":"reference","url":"https://www.cve.org/CVERecord?id=CVE-2025-62518"}]}]}}