Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-33056

published medium CVSS 4.0 · 5.1

tar-rs: unpack_in can chmod arbitrary directories by following symlinks

Published
20 Mar 2026, 07:11:10 UTC
Updated
20 Mar 2026, 12:59:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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
Alpine Linux edge rust Fixed 1.94.0-r1 Package fix record
Ubuntu jammy cargo Advisory build 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Show 100 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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
Alpine Linux v3.20 rust Fixed 1.78.0-r1 Package fix record
Alpine Linux v3.21 rust Fixed 1.83.0-r1 Package fix record
Alpine Linux v3.22 rust Fixed 1.87.0-r1 Package fix record
Alpine Linux v3.23 rust Fixed 1.91.1-r1 Package fix record
Alpine Linux v3.24 chromium-rust Fixed 1.94.0-r1 Package fix record
Alpine Linux v3.24 rust Fixed 1.94.0-r1 Package fix record
Ubuntu jammy cargo-1.76 Advisory build 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy cargo-1.77 Advisory build 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy cargo-1.78 Advisory build 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy cargo-1.79 Advisory build 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy cargo-1.80 Advisory build 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy cargo-1.81 Advisory build 1.81.0+dfsg0ubuntu0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy cargo-1.82 Advisory build 1.82.0+dfsg0ubuntu0~jammy-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy cargo-1.83 Advisory build 1.83.0+dfsg0ubuntu2~bpo2-0ubuntu2.22.04.1 USN-8168-1
Ubuntu jammy cargo-1.84 Advisory build 1.84.1+dfsg0ubuntu1~bpo10-0ubuntu4.22.04.1 USN-8168-1
Ubuntu jammy cargo-1.85 Advisory build 1.85.1+dfsg0ubuntu2~bpo0-0ubuntu1.22.04.1 USN-8168-1
Ubuntu jammy cargo-1.89 Advisory build 1.89.0+dfsg~24.04-0ubuntu0.22.04.2 USN-8168-1
Ubuntu jammy cargo-1.91 Advisory build 1.91.1+dfsg~22.04-0ubuntu0.22.04.3 USN-8168-1
Ubuntu jammy librust-tar+default-dev Advisory build 0.4.37-3ubuntu0.1 USN-8138-1
Ubuntu jammy librust-tar-dev Advisory build 0.4.37-3ubuntu0.1 USN-8138-1
Ubuntu jammy libstd-rust-1.62 Advisory build 1.62.1+dfsg1-1ubuntu0.22.04.3 USN-8168-1
Ubuntu jammy libstd-rust-1.75 Advisory build 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy libstd-rust-1.76 Advisory build 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy libstd-rust-1.77 Advisory build 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy libstd-rust-1.78 Advisory build 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy libstd-rust-1.79 Advisory build 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy libstd-rust-1.80 Advisory build 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy libstd-rust-1.81 Advisory build 1.81.0+dfsg0ubuntu0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy libstd-rust-1.82 Advisory build 1.82.0+dfsg0ubuntu0~jammy-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy libstd-rust-1.83 Advisory build 1.83.0+dfsg0ubuntu2~bpo2-0ubuntu2.22.04.1 USN-8168-1
Ubuntu jammy libstd-rust-1.84 Advisory build 1.84.1+dfsg0ubuntu1~bpo10-0ubuntu4.22.04.1 USN-8168-1
Ubuntu jammy libstd-rust-1.85 Advisory build 1.85.1+dfsg0ubuntu2~bpo0-0ubuntu1.22.04.1 USN-8168-1
Ubuntu jammy libstd-rust-1.89 Advisory build 1.89.0+dfsg~24.04-0ubuntu0.22.04.2 USN-8168-1
Ubuntu jammy libstd-rust-1.91 Advisory build 1.91.1+dfsg~22.04-0ubuntu0.22.04.3 USN-8168-1
Ubuntu jammy rust-1.62-all Advisory build 1.62.1+dfsg1-1ubuntu0.22.04.3 USN-8168-1
Ubuntu jammy rust-1.62-clippy Advisory build 1.62.1+dfsg1-1ubuntu0.22.04.3 USN-8168-1
Ubuntu jammy rust-1.62-gdb Advisory build 1.62.1+dfsg1-1ubuntu0.22.04.3 USN-8168-1
Ubuntu jammy rust-1.62-lldb Advisory build 1.62.1+dfsg1-1ubuntu0.22.04.3 USN-8168-1
Ubuntu jammy rust-1.62-src Advisory build 1.62.1+dfsg1-1ubuntu0.22.04.3 USN-8168-1
Ubuntu jammy rust-1.76-all Advisory build 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.76-clippy Advisory build 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.76-gdb Advisory build 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.76-lldb Advisory build 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.76-src Advisory build 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.77-all Advisory build 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.77-clippy Advisory build 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.77-gdb Advisory build 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.77-lldb Advisory build 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.77-src Advisory build 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.78-all Advisory build 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.78-clippy Advisory build 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.78-gdb Advisory build 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.78-lldb Advisory build 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.78-src Advisory build 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.79-all Advisory build 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.79-clippy Advisory build 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.79-gdb Advisory build 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.79-lldb Advisory build 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.79-src Advisory build 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.80-all Advisory build 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.80-clippy Advisory build 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.80-gdb Advisory build 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.80-lldb Advisory build 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.80-src Advisory build 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.81-all Advisory build 1.81.0+dfsg0ubuntu0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.81-clippy Advisory build 1.81.0+dfsg0ubuntu0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.81-gdb Advisory build 1.81.0+dfsg0ubuntu0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.81-lldb Advisory build 1.81.0+dfsg0ubuntu0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.81-src Advisory build 1.81.0+dfsg0ubuntu0-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.82-all Advisory build 1.82.0+dfsg0ubuntu0~jammy-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.82-clippy Advisory build 1.82.0+dfsg0ubuntu0~jammy-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.82-gdb Advisory build 1.82.0+dfsg0ubuntu0~jammy-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.82-lldb Advisory build 1.82.0+dfsg0ubuntu0~jammy-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.82-src Advisory build 1.82.0+dfsg0ubuntu0~jammy-0ubuntu0.22.04.1 USN-8168-1
Ubuntu jammy rust-1.83-all Advisory build 1.83.0+dfsg0ubuntu2~bpo2-0ubuntu2.22.04.1 USN-8168-1
Ubuntu jammy rust-1.83-clippy Advisory build 1.83.0+dfsg0ubuntu2~bpo2-0ubuntu2.22.04.1 USN-8168-1
Ubuntu jammy rust-1.83-gdb Advisory build 1.83.0+dfsg0ubuntu2~bpo2-0ubuntu2.22.04.1 USN-8168-1
Ubuntu jammy rust-1.83-lldb Advisory build 1.83.0+dfsg0ubuntu2~bpo2-0ubuntu2.22.04.1 USN-8168-1
Ubuntu jammy rust-1.83-src Advisory build 1.83.0+dfsg0ubuntu2~bpo2-0ubuntu2.22.04.1 USN-8168-1
Ubuntu jammy rust-1.84-all Advisory build 1.84.1+dfsg0ubuntu1~bpo10-0ubuntu4.22.04.1 USN-8168-1
Ubuntu jammy rust-1.84-clippy Advisory build 1.84.1+dfsg0ubuntu1~bpo10-0ubuntu4.22.04.1 USN-8168-1
Ubuntu jammy rust-1.84-gdb Advisory build 1.84.1+dfsg0ubuntu1~bpo10-0ubuntu4.22.04.1 USN-8168-1
Ubuntu jammy rust-1.84-lldb Advisory build 1.84.1+dfsg0ubuntu1~bpo10-0ubuntu4.22.04.1 USN-8168-1
Ubuntu jammy rust-1.84-src Advisory build 1.84.1+dfsg0ubuntu1~bpo10-0ubuntu4.22.04.1 USN-8168-1
Ubuntu jammy rust-1.85-all Advisory build 1.85.1+dfsg0ubuntu2~bpo0-0ubuntu1.22.04.1 USN-8168-1
Ubuntu jammy rust-1.85-clippy Advisory build 1.85.1+dfsg0ubuntu2~bpo0-0ubuntu1.22.04.1 USN-8168-1
Ubuntu jammy rust-1.85-gdb Advisory build 1.85.1+dfsg0ubuntu2~bpo0-0ubuntu1.22.04.1 USN-8168-1
Ubuntu jammy rust-1.85-lldb Advisory build 1.85.1+dfsg0ubuntu2~bpo0-0ubuntu1.22.04.1 USN-8168-1
Ubuntu jammy rust-1.85-src Advisory build 1.85.1+dfsg0ubuntu2~bpo0-0ubuntu1.22.04.1 USN-8168-1
Ubuntu jammy rust-1.89-all Advisory build 1.89.0+dfsg~24.04-0ubuntu0.22.04.2 USN-8168-1
Ubuntu jammy rust-1.89-clippy Advisory build 1.89.0+dfsg~24.04-0ubuntu0.22.04.2 USN-8168-1
Ubuntu jammy rust-1.89-gdb Advisory build 1.89.0+dfsg~24.04-0ubuntu0.22.04.2 USN-8168-1
Ubuntu jammy rust-1.89-lldb Advisory build 1.89.0+dfsg~24.04-0ubuntu0.22.04.2 USN-8168-1
Ubuntu jammy rust-1.89-src Advisory build 1.89.0+dfsg~24.04-0ubuntu0.22.04.2 USN-8168-1
Ubuntu jammy rust-1.91-all Advisory build 1.91.1+dfsg~22.04-0ubuntu0.22.04.3 USN-8168-1
Ubuntu jammy rust-1.91-clippy Advisory build 1.91.1+dfsg~22.04-0ubuntu0.22.04.3 USN-8168-1
Ubuntu jammy rust-1.91-gdb Advisory build 1.91.1+dfsg~22.04-0ubuntu0.22.04.3 USN-8168-1
Ubuntu jammy rust-1.91-lldb Advisory build 1.91.1+dfsg~22.04-0ubuntu0.22.04.3 USN-8168-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

19

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:N/VI:L/VA:N/SC:N/SI:N/SA:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
alexcrichton tar-rs < 0.4.45 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-61 CWE-61: UNIX Symbolic Link (Symlink) Following (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

tar-rs: unpack_in can chmod arbitrary directories by following symlinks

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
8785d839745c5666b2b0309f53d3701daf66163b8a231cf9a06f9ecbdde97838
Ingested
23 Sep 2026, 09:10:18 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected