Affected versions
Ubuntu22.04:LTS/rust-tar
- Affected versions
- <0.4.37-3ubuntu0.1
- Fixed version
- 0.4.37-3ubuntu0.1
Ubuntu22.04:LTS/rustc-1.62
- Affected versions
- <1.62.1+dfsg1-1ubuntu0.22.04.3
- Fixed version
- 1.62.1+dfsg1-1ubuntu0.22.04.3
Ubuntu22.04:LTS/rustc-1.76
- Affected versions
- <1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1
- Fixed version
- 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1
Ubuntu22.04:LTS/rustc-1.77
- Affected versions
- <1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1
- Fixed version
- 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1
Ubuntu22.04:LTS/rustc-1.78
- Affected versions
- <1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1
- Fixed version
- 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1
Ubuntu22.04:LTS/rustc-1.79
- Affected versions
- <1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1
- Fixed version
- 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1
Ubuntu22.04:LTS/rustc-1.80
- Affected versions
- <1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1
- Fixed version
- 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1
Ubuntu22.04:LTS/rustc-1.81
- Affected versions
- <1.81.0+dfsg0ubuntu0-0ubuntu0.22.04.1
- Fixed version
- 1.81.0+dfsg0ubuntu0-0ubuntu0.22.04.1
Ubuntu22.04:LTS/rustc-1.82
- Affected versions
- <1.82.0+dfsg0ubuntu0~jammy-0ubuntu0.22.04.1
- Fixed version
- 1.82.0+dfsg0ubuntu0~jammy-0ubuntu0.22.04.1
Ubuntu22.04:LTS/rustc-1.83
- Affected versions
- <1.83.0+dfsg0ubuntu2~bpo2-0ubuntu2.22.04.1
- Fixed version
- 1.83.0+dfsg0ubuntu2~bpo2-0ubuntu2.22.04.1
Ubuntu22.04:LTS/rustc-1.84
- Affected versions
- <1.84.1+dfsg0ubuntu1~bpo10-0ubuntu4.22.04.1
- Fixed version
- 1.84.1+dfsg0ubuntu1~bpo10-0ubuntu4.22.04.1
Ubuntu22.04:LTS/rustc-1.85
- Affected versions
- <1.85.1+dfsg0ubuntu2~bpo0-0ubuntu1.22.04.1
- Fixed version
- 1.85.1+dfsg0ubuntu2~bpo0-0ubuntu1.22.04.1
Ubuntu22.04:LTS/rustc-1.89
- Affected versions
- <1.89.0+dfsg~24.04-0ubuntu0.22.04.2
- Fixed version
- 1.89.0+dfsg~24.04-0ubuntu0.22.04.2
Ubuntu22.04:LTS/rustc-1.91
- Affected versions
- <1.91.1+dfsg~22.04-0ubuntu0.22.04.3
- Fixed version
- 1.91.1+dfsg~22.04-0ubuntu0.22.04.3
Ubuntu22.04:LTS/rustc
- Affected versions
- <1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1
- Fixed version
- 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1
Ubuntu24.04:LTS/rust-async-tar
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/rust-cargo-c
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/rust-tar
- Affected versions
- <0.4.40-1ubuntu0.1
- Fixed version
- 0.4.40-1ubuntu0.1
Ubuntu24.04:LTS/rustc-1.74
- Affected versions
- <1.74.1+dfsg0ubuntu1-0ubuntu15
- Fixed version
- 1.74.1+dfsg0ubuntu1-0ubuntu15
Ubuntu24.04:LTS/rustc-1.76
- Affected versions
- <1.76.0+dfsg0ubuntu1-0ubuntu0.24.04.2
- Fixed version
- 1.76.0+dfsg0ubuntu1-0ubuntu0.24.04.2
Ubuntu24.04:LTS/rustc-1.77
- Affected versions
- <1.77.2+dfsg1ubuntu1-0ubuntu0.24.04.1
- Fixed version
- 1.77.2+dfsg1ubuntu1-0ubuntu0.24.04.1
Ubuntu24.04:LTS/rustc-1.78
- Affected versions
- <1.78.0+dfsg1ubuntu1-0ubuntu0.24.04.2
- Fixed version
- 1.78.0+dfsg1ubuntu1-0ubuntu0.24.04.2
Ubuntu24.04:LTS/rustc-1.79
- Affected versions
- <1.79.0+dfsg1ubuntu1-0ubuntu0.24.04.1
- Fixed version
- 1.79.0+dfsg1ubuntu1-0ubuntu0.24.04.1
Ubuntu24.04:LTS/rustc-1.80
- Affected versions
- <1.80.1+dfsg0ubuntu1-0ubuntu0.24.04.01
- Fixed version
- 1.80.1+dfsg0ubuntu1-0ubuntu0.24.04.01
Ubuntu24.04:LTS/rustc-1.81
- Affected versions
- <1.81.0+dfsg0ubuntu1-0ubuntu0.24.04.1
- Fixed version
- 1.81.0+dfsg0ubuntu1-0ubuntu0.24.04.1
Ubuntu24.04:LTS/rustc-1.82
- Affected versions
- <1.82.0+dfsg0ubuntu0-0ubuntu0.24.04.1
- Fixed version
- 1.82.0+dfsg0ubuntu0-0ubuntu0.24.04.1
Ubuntu24.04:LTS/rustc-1.83
- Affected versions
- <1.83.0+dfsg0ubuntu1~bpo2-0ubuntu0.24.04.1
- Fixed version
- 1.83.0+dfsg0ubuntu1~bpo2-0ubuntu0.24.04.1
Ubuntu24.04:LTS/rustc-1.84
- Affected versions
- <1.84.1+dfsg0ubuntu1~bpo2-0ubuntu2.24.04.1
- Fixed version
- 1.84.1+dfsg0ubuntu1~bpo2-0ubuntu2.24.04.1
Ubuntu24.04:LTS/rustc-1.85
- Affected versions
- <1.85.1+dfsg0ubuntu2~bpo0-0ubuntu0.24.04.2
- Fixed version
- 1.85.1+dfsg0ubuntu2~bpo0-0ubuntu0.24.04.2
Ubuntu24.04:LTS/rustc-1.89
- Affected versions
- <1.89.0+dfsg~24.04-0ubuntu0.24.04.2
- Fixed version
- 1.89.0+dfsg~24.04-0ubuntu0.24.04.2
Ubuntu24.04:LTS/rustc-1.91
- Affected versions
- <1.91.1+dfsg~24.04-0ubuntu0.24.04.2
- Fixed version
- 1.91.1+dfsg~24.04-0ubuntu0.24.04.2
Ubuntu24.04:LTS/rustc
- Affected versions
- <1.75.0+dfsg0ubuntu1-0ubuntu7.4
- Fixed version
- 1.75.0+dfsg0ubuntu1-0ubuntu7.4
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu25.10/rust-async-tar
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu25.10/rust-cargo-c
- Affected versions
- <0.10.11-1ubuntu1.1
- Fixed version
- 0.10.11-1ubuntu1.1
Ubuntu25.10/rust-tar
- Affected versions
- <0.4.43-4ubuntu0.1
- Fixed version
- 0.4.43-4ubuntu0.1
Ubuntu25.10/rustc-1.85
- Affected versions
- <1.85.1+dfsg0ubuntu2-0ubuntu1.25.04.1
- Fixed version
- 1.85.1+dfsg0ubuntu2-0ubuntu1.25.04.1
Ubuntu25.10/rustc-1.88
- Affected versions
- <1.88.0+dfsg0ubuntu1-0ubuntu2
- Fixed version
- 1.88.0+dfsg0ubuntu1-0ubuntu2
- Affected versions
- *
- Fixed version
- Not reported
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:14.04:LTS/rustc
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/cargo
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/rustc
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/cargo
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/rustc
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/cargo
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/rust-tar
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/rustc-1.76
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/rustc-1.77
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/rustc-1.78
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/rustc-1.79
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/rustc-1.80
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/rustc
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:22.04:LTS/cargo
- Affected versions
- *
- Fixed version
- Not reported
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.
Links
- https://github.com/alexcrichton/tar-rs/commit/17b1fd84e632071cb8eef9d3709bf347bd266446
- https://github.com/alexcrichton/tar-rs/security/advisories/GHSA-j4xf-2g29-59ph
- https://ubuntu.com/security/CVE-2026-33056
- https://ubuntu.com/security/notices/USN-8138-1
- https://ubuntu.com/security/notices/USN-8139-1
- https://ubuntu.com/security/notices/USN-8168-1
- https://www.cve.org/CVERecord?id=CVE-2026-33056

