Skip to main content
CVE-2026-33056VulnerabilityPublished Updated

Rustc:

Affects rustcSource GCVE Database

0
Compare
Authoritative record:CVE-2026-33056· Medium 5.1

Not known to be exploited · CVSS 5.1 Medium · fixed in 0.4.37-3ubuntu0.1 : update rustc when convenient.

Data as of 24 Nov 2026, 21:15 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 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.4.37-3ubuntu0.1, 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1, 1.62.1+dfsg1-1ubuntu0.22.04.3 +31
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/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 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.10rust-astral-tokio-tarpkg:deb/ubuntu/rust-astral-tokio-tar?arch=source&distro=stonkingOther threatsAffected
  • =0.5.6-2
  • =0.6.2-1
Fixed in–
Ubuntu 26.04 LTSrust-astral-tokio-tarpkg:deb/ubuntu/rust-astral-tokio-tar?arch=source&distro=resoluteOther threatsAffected
  • 0.5.2-2 – 0.5.6-2
4 affected builds
Fixed in–
Ubuntu 25.10rust-astral-tokio-tarpkg:deb/ubuntu/rust-astral-tokio-tar?arch=source&distro=questingOther threatsAffected
  • =0.5.1-1
  • =0.5.2-2
Fixed in–
Ubuntu 25.10rust-async-tarpkg:deb/ubuntu/rust-async-tar?arch=source&distro=questingOther threatsAffected
  • =0.4.2-2
Fixed in–
Ubuntu 25.10rust-cargo-cpkg:deb/ubuntu/rust-cargo-c?arch=source&distro=questingOther threatsAffected
  • <0.10.11-1ubuntu1.1
Fixed in
  • 0.10.11-1ubuntu1.1
Ubuntu 25.10rust-tarpkg:deb/ubuntu/rust-tar?arch=source&distro=questingOther threatsAffected
  • <0.4.43-4ubuntu0.1
Fixed in
  • 0.4.43-4ubuntu0.1

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

Description

tar-rs is a tar archive reading/writing library for Rust. In versions 0.4.44 and below, when unpacking a tar archive, the tar crate's unpack_dir function uses fs::metadata() to check whether a path that already exists is a directory. Because fs::metadata() follows symbolic links, a crafted tarball containing a symlink entry followed by a directory entry with the same name causes the crate to treat the symlink target as a valid existing directory — and subsequently apply chmod to it. This allows an attacker to modify the permissions of arbitrary directories outside the extraction root. This issue has been fixed in version 0.4.45.

References

Community reviews

Loading reviews…