VDB
DEBIAN-CVE-2026-33056
DEBIAN-CVE-2026-33056
PUBLISHED
CVSS 6.5 MEDIUM
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.
Risk Scores
CVSS v3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Debian:14 | rustc | 1.90.0+dfsg1, 1.86.0+dfsg1, 1.86.0+dfsg1 |
| Debian:11 | rust-tar | 0.4.38-2, 0.4.38-1, 0.4.37-3 |
| Debian:11 | rustc | 1.91.1+dfsg1, 1.91.1+dfsg1, 1.91.1+dfsg1 |
| Debian:12 | rust-tar | 0.4.38-2, 0.4.38-1, 0 |
| Debian:13 | rustc | *, 1.85.0+dfsg3-1, 1.86.0+dfsg1-1~bpo13+2 |
| Debian:14 | rust-tar | 0.4.44-1, 0.4.43-4, 0 |
| Debian:12 | rustc | 1.93.1+dfsg1, 1.93.1+dfsg1, 1.92.0+dfsg1 |
| Debian:13 | rust-tar | 0.4.45-2, 0.4.45-1, 0.4.44-1 |
Timeline
- Mar 20, 2026 CVE Published
- Apr 28, 2026 CVE Updated