{"id":"UBUNTU-CVE-2026-33055","details":"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.","modified":"2026-05-20T16:25:23.501506054Z","published":"2026-03-20T07:16:00Z","upstream":["CVE-2026-33055"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-33055"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-33055"},{"type":"REPORT","url":"https://github.com/alexcrichton/tar-rs/commit/de1a5870e603758f430073688691165f21a33946"},{"type":"REPORT","url":"https://github.com/alexcrichton/tar-rs/security/advisories/GHSA-gchp-q4r4-x4ff"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-62518"}],"affected":[{"package":{"name":"rust-tar","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/rust-tar?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.26-1","0.4.26-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-tar+default-dev","binary_version":"0.4.26-1ubuntu0.1"},{"binary_name":"librust-tar-dev","binary_version":"0.4.26-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33055.json"}},{"package":{"name":"rust-tar","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/rust-tar?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.26-1","0.4.37-1","0.4.37-3","0.4.37-3ubuntu0.1~esm1","0.4.37-3ubuntu0.1","0.4.37-3ubuntu0.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-tar+default-dev","binary_version":"0.4.37-3ubuntu0.1+esm1"},{"binary_name":"librust-tar-dev","binary_version":"0.4.37-3ubuntu0.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33055.json"}},{"package":{"name":"rust-tar","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/rust-tar?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.38-2","0.4.40-1","0.4.40-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-tar-dev","binary_version":"0.4.40-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33055.json"}},{"package":{"name":"rust-tar","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/rust-tar?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.43-4","0.4.43-4ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-tar-dev","binary_version":"0.4.43-4ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33055.json"}},{"package":{"name":"rust-tar","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-tar?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.43-4","0.4.44-1","0.4.45-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4.45-1","binary_name":"librust-tar-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33055.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}