CVEfocus › CVE database › CVE-2026-33055

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

CVSS 5.1 MediumEPSS 0.6% (higher than 41% of CVEs)Published 2026-03-20Updated 2026-03-20Assigner: GitHub_M

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.

CWE-843

What to do

Fixed builds are available from Debian, crates.io: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
6Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10rust-tarFix pendingUBUNTU-CVE-2026-33055
Ubuntu 26.04rust-tarUnder investigationUBUNTU-CVE-2026-33055
Ubuntu 25.10rust-tarWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-33055
Ubuntu 24.04rust-tarUnder investigationUBUNTU-CVE-2026-33055
Ubuntu 22.04rust-tarFix pendingUBUNTU-CVE-2026-33055
Ubuntu 20.04rust-tarFix pendingUBUNTU-CVE-2026-33055
Debian 14rust-tarFixed0.4.45-1DEBIAN-CVE-2026-33055
Debian 14rustcFixed1.92.0+dfsg1-2DEBIAN-CVE-2026-33055
Debian 13rust-tarFix pendingDEBIAN-CVE-2026-33055
Debian 13rustcFixed1.85.1+dfsg1-1+deb13u1DEBIAN-CVE-2026-33055
Debian 12rust-tarFix pendingDEBIAN-CVE-2026-33055
Debian 12rustcFix pendingDEBIAN-CVE-2026-33055
crates.io librarytarFixed0.4.45GHSA-gchp-q4r4-x4ff

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.