CVE-2026-33055
published medium CVSS 4.0 · 5.1tar-rs incorrectly ignores PAX size headers if header size is nonzero
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| alexcrichton | — | tar-rs< 0.4.45 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3246 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1565 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1566 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | rustaarch64 | Listed in advisory | Not stated | ALAS2-2026-3246 |
| Amazon Linux | AL2 | rustnoarch | Listed in advisory | Not stated | ALAS2-2026-3246 |
Show 18 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1567 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1568 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | rustsrc | Listed in advisory | Not stated | ALAS2-2026-3246 |
| Amazon Linux | AL2 | rustx86_64 | Listed in advisory | Not stated | ALAS2-2026-3246 |
| Amazon Linux | AL2023 | clamav1.5aarch64 | Listed in advisory | Not stated | ALAS2023-2026-1565 |
| Amazon Linux | AL2023 | clamav1.5noarch | Listed in advisory | Not stated | ALAS2023-2026-1565 |
| Amazon Linux | AL2023 | clamav1.5src | Listed in advisory | Not stated | ALAS2023-2026-1565 |
| Amazon Linux | AL2023 | clamav1.5x86_64 | Listed in advisory | Not stated | ALAS2023-2026-1565 |
| Amazon Linux | AL2023 | rustaarch64 | Listed in advisory | Not stated | ALAS2023-2026-1568 |
| Amazon Linux | AL2023 | rustnoarch | Listed in advisory | Not stated | ALAS2023-2026-1568 |
| Amazon Linux | AL2023 | rustsrc | Listed in advisory | Not stated | ALAS2023-2026-1568 |
| Amazon Linux | AL2023 | rustx86_64 | Listed in advisory | Not stated | ALAS2023-2026-1568 |
| Amazon Linux | AL2023 | rust-belowaarch64 | Listed in advisory | Not stated | ALAS2023-2026-1567 |
| Amazon Linux | AL2023 | rust-belowsrc | Listed in advisory | Not stated | ALAS2023-2026-1567 |
| Amazon Linux | AL2023 | rust-belowx86_64 | Listed in advisory | Not stated | ALAS2023-2026-1567 |
| Amazon Linux | AL2023 | rust-cargo-caarch64 | Listed in advisory | Not stated | ALAS2023-2026-1566 |
| Amazon Linux | AL2023 | rust-cargo-csrc | Listed in advisory | Not stated | ALAS2023-2026-1566 |
| Amazon Linux | AL2023 | rust-cargo-cx86_64 | Listed in advisory | Not stated | ALAS2023-2026-1566 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| alexcrichton | tar-rs | < 0.4.45 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-843 CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
References
3Provider assertions
2GitHub_M · cna
tar-rs incorrectly ignores PAX size headers if header size is nonzero
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ad8431361da4ff95cebbcba4ee7bedfa6d52afe284da2e4bde7eb0b0365a2096
- Ingested
- 23 Sep 2026, 09:10:18 UTC
- Source record
- Official CVE record