Skip to main content
VulnerabilityPublished

CVE-2026-33055: alexcrichton tar-rs · Type Confusion

Affects alexcrichton tar-rsSource CVE Database V5

0
Compare

Mentioned vulnerabilities

Not known to be exploited · CVSS 5.1 Medium : upgrade to 0.4.45 when convenient.

Data as of 31 Oct 2026, 20:20 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 35% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.4.45
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 31 Oct 2026.

What to do

Upgrade tar-rs and alexcrichton/tar-rs to 0.4.45.

Affected software

ProductAffectedFixed in
alexcrichtontar-rsAffected
  • <0.4.45
Fixed in
  • 0.4.45
crates.ioalexcrichton/tar-rspkg:cargo/alexcrichton/tar-rsOther threatsAffected
  • <0.4.45
Fixed in
  • 0.4.45

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The definitive mitigation is to upgrade all instances of the tar-rs crate to version 0.4.45 or later, where the handling of PAX size headers is corrected. Developers should audit their Rust dependencies to identify usage of tar-rs and ensure timely updates. Additionally, organizations should implement strict validation and sanitization of tar archives before processing, including verifying archive consistency across multiple parsers if feasible. Employing sandboxing or running archive extraction in isolated environments can limit potential damage from malformed archives. Monitoring for unusual archive unpacking behaviors or discrepancies in file sizes can help detect exploitation attempts. Finally, educating developers and DevOps teams about this inconsistency will reduce the risk of integrating vulnerable versions into production systems.

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.

References

Community reviews

Loading reviews…