cbcvebase.

Debian Rustc vulnerabilities

22 known vulnerabilities affecting debian/rustc.

Total CVEs
22
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL5HIGH10MEDIUM5LOW2

Vulnerabilities

Page 1 of 2
CVE-2021-42574P3LOWCVSS 8.3fixed in rustc 1.57.0+dfsg1-1 (bookworm)2021
CVE-2021-42574 [HIGH] CVE-2021-42574: rustc - An issue was discovered in the Bidirectional Algorithm in the Unicode Specificat... An issue was discovered in the Bidirectional Algorithm in the Unicode Specification through 14.0. It permits the visual reordering of characters via control sequences, which can be used to craft source code that renders different logic than the logical ordering of tokens ingested by compilers and interpreters. Adversaries can leverage this to encode source code for co
debian
CVE-2021-29922P3CRITICALCVSS 9.1fixed in rustc 1.53.0+dfsg1-1 (bookworm)2021
CVE-2021-29922 [CRITICAL] CVE-2021-29922: rustc - library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider e... library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous zero characters at the beginning of an IP address string, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation. Scope: local bookworm: resolved (fixed in 1.53.0+dfsg1-1) bullseye: open f
debian
CVE-2021-28879P3CRITICALCVSS 9.8fixed in rustc 1.53.0+dfsg1-1 (bookworm)2021
CVE-2021-28879 [CRITICAL] CVE-2021-28879: rustc - In the standard library in Rust before 1.52.0, the Zip implementation can report... In the standard library in Rust before 1.52.0, the Zip implementation can report an incorrect size due to an integer overflow. This bug can lead to a buffer overflow when a consumed Zip iterator is used again. Scope: local bookworm: resolved (fixed in 1.53.0+dfsg1-1) bullseye: open forky: resolved (fixed in 1.53.0+dfsg1-1) sid: resolved (fixed in 1.53.0+dfsg1-1) t
debian
CVE-2018-1000810P3CRITICALCVSS 9.8fixed in rustc 1.30.0+dfsg1-1 (bookworm)2018
CVE-2018-1000810 [CRITICAL] CVE-2018-1000810: rustc - The Rust Programming Language Standard Library version 1.29.0, 1.28.0, 1.27.2, 1... The Rust Programming Language Standard Library version 1.29.0, 1.28.0, 1.27.2, 1.27.1, 127.0, 126.2, 126.1, 126.0 contains a CWE-680: Integer Overflow to Buffer Overflow vulnerability in standard library that can result in buffer overflow. This attack appear to be exploitable via str::repeat, passed a large number, can overflow an internal buffer. This vulnera
debian
CVE-2021-31162P3CRITICALCVSS 9.8fixed in rustc 1.53.0+dfsg1-1 (bookworm)2021
CVE-2021-31162 [CRITICAL] CVE-2021-31162: rustc - In the standard library in Rust before 1.52.0, a double free can occur in the Ve... In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the element panics. Scope: local bookworm: resolved (fixed in 1.53.0+dfsg1-1) bullseye: open forky: resolved (fixed in 1.53.0+dfsg1-1) sid: resolved (fixed in 1.53.0+dfsg1-1) trixie: resolved (fixed in 1.53.0+dfsg1-1)
debian
CVE-2026-33055P3HIGHCVSS 8.1fixed in rust-tar 0.4.45-1 (forky)2026
CVE-2026-33055 [HIGH] CVE-2026-33055: rust-tar - tar-rs is a tar archive reading/writing library for Rust. Versions 0.4.44 and be... 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 i
debian
CVE-2020-36318P3CRITICALCVSS 9.8fixed in rustc 1.53.0+dfsg1-1 (bookworm)2020
CVE-2020-36318 [CRITICAL] CVE-2020-36318: rustc - In the standard library in Rust before 1.49.0, VecDeque::make_contiguous has a b... In the standard library in Rust before 1.49.0, VecDeque::make_contiguous has a bug that pops the same element more than once under certain condition. This bug could result in a use-after-free or double free. Scope: local bookworm: resolved (fixed in 1.53.0+dfsg1-1) bullseye: open forky: resolved (fixed in 1.53.0+dfsg1-1) sid: resolved (fixed in 1.53.0+dfsg1-1) tri
debian
CVE-2021-28875P3HIGHCVSS 7.5fixed in rustc 1.53.0+dfsg1-1 (bookworm)2021
CVE-2021-28875 [HIGH] CVE-2021-28875: rustc - In the standard library in Rust before 1.50.0, read_to_end() does not validate t... In the standard library in Rust before 1.50.0, read_to_end() does not validate the return value from Read in an unsafe context. This bug could lead to a buffer overflow. Scope: local bookworm: resolved (fixed in 1.53.0+dfsg1-1) bullseye: open forky: resolved (fixed in 1.53.0+dfsg1-1) sid: resolved (fixed in 1.53.0+dfsg1-1) trixie: resolved (fixed in 1.53.0+dfsg1-1)
debian
CVE-2020-36323P3HIGHCVSS 8.2fixed in rustc 1.53.0+dfsg1-1 (bookworm)2020
CVE-2020-36323 [HIGH] CVE-2020-36323: rustc - In the standard library in Rust before 1.52.0, there is an optimization for join... In the standard library in Rust before 1.52.0, there is an optimization for joining strings that can cause uninitialized bytes to be exposed (or the program to crash) if the borrowed string changes after its length is checked. Scope: local bookworm: resolved (fixed in 1.53.0+dfsg1-1) bullseye: open forky: resolved (fixed in 1.53.0+dfsg1-1) sid: resolved (fixed in 1.53
debian
CVE-2015-20001P3HIGHCVSS 7.5fixed in rustc 1.2.0+dfsg1-1 (bookworm)2015
CVE-2015-20001 [HIGH] CVE-2015-20001: rustc - In the standard library in Rust before 1.2.0, BinaryHeap is not panic-safe. The ... In the standard library in Rust before 1.2.0, BinaryHeap is not panic-safe. The binary heap is left in an inconsistent state when the comparison of generic elements inside sift_up or sift_down_range panics. This bug leads to a drop of zeroed memory as an arbitrary type, which can result in a memory safety violation. Scope: local bookworm: resolved (fixed in 1.2.0+dfsg
debian
CVE-2020-36317P3HIGHCVSS 7.5fixed in rustc 1.53.0+dfsg1-1 (bookworm)2020
CVE-2020-36317 [HIGH] CVE-2020-36317: rustc - In the standard library in Rust before 1.49.0, String::retain() function has a p... In the standard library in Rust before 1.49.0, String::retain() function has a panic safety problem. It allows creation of a non-UTF-8 Rust string when the provided closure panics. This bug could result in a memory safety violation when other string APIs assume that UTF-8 encoding is used on the same string. Scope: local bookworm: resolved (fixed in 1.53.0+dfsg1-1) bu
debian
CVE-2018-1000657P3HIGHCVSS 7.8fixed in rustc 1.22.1+dfsg1-1 (bookworm)2018
CVE-2018-1000657 [HIGH] CVE-2018-1000657: rustc - Rust Programming Language Rust standard library version Commit bfa0e1f58acf1c28d... Rust Programming Language Rust standard library version Commit bfa0e1f58acf1c28d500c34ed258f09ae021893e and later; stable release 1.3.0 and later contains a Buffer Overflow vulnerability in std::collections::vec_deque::VecDeque::reserve() function that can result in Arbitrary code execution, but no proof-of-concept exploit is currently published.. This vulnerabili
debian
CVE-2025-11233P3LOWCVSS 6.3fixed in rustc 1.89.0+dfsg1-1 (forky)2025
CVE-2025-11233 [MEDIUM] CVE-2025-11233: rustc - Starting from Rust 1.87.0 and before Rust 1.89.0, the tier 3 Cygwin target (`x86... Starting from Rust 1.87.0 and before Rust 1.89.0, the tier 3 Cygwin target (`x86_64-pc-cygwin`) didn't correctly handle path separators, causing the standard library's Path API to ignore path components separated by backslashes. Due to this, programs compiled for Cygwin that validate paths could misbehave, potentially allowing path traversal attacks or malicious fil
debian
CVE-2018-1000622P3HIGHCVSS 7.8fixed in rustc 1.27.1+dfsg1-1~exp1 (bookworm)2018
CVE-2018-1000622 [HIGH] CVE-2018-1000622: rustc - The Rust Programming Language rustdoc version Between 0.8 and 1.27.0 contains a ... The Rust Programming Language rustdoc version Between 0.8 and 1.27.0 contains a CWE-427: Uncontrolled Search Path Element vulnerability in rustdoc plugins that can result in local code execution as a different user. This attack appear to be exploitable via using the --plugin flag without the --plugin-path flag. This vulnerability appears to have been fixed in 1.27
debian
CVE-2021-28878P3HIGHCVSS 7.5fixed in rustc 1.53.0+dfsg1-1 (bookworm)2021
CVE-2021-28878 [HIGH] CVE-2021-28878: rustc - In the standard library in Rust before 1.52.0, the Zip implementation calls __it... In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once for the same index (under certain conditions) when next_back() and next() are used together. This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait. Scope: local bookworm: resolved (fixed i
debian
CVE-2026-33056P3MEDIUMCVSS 5.1fixed in rust-tar 0.4.45-1 (forky)2026
CVE-2026-33056 [MEDIUM] CVE-2026-33056: rust-tar - tar-rs is a tar archive reading/writing library for Rust. In versions 0.4.44 and... 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
debian
CVE-2021-28877P3HIGHCVSS 7.5fixed in rustc 1.53.0+dfsg1-1 (bookworm)2021
CVE-2021-28877 [HIGH] CVE-2021-28877: rustc - In the standard library in Rust before 1.51.0, the Zip implementation calls __it... In the standard library in Rust before 1.51.0, the Zip implementation calls __iterator_get_unchecked() for the same index more than once when nested. This bug can lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait. Scope: local bookworm: resolved (fixed in 1.53.0+dfsg1-1) bullseye: open forky: resolved (fixed in 1.53
debian
CVE-2022-21658P4HIGHCVSS 7.3fixed in rustc 1.57.0+dfsg1-1 (bookworm)2022
CVE-2022-21658 [HIGH] CVE-2022-21658: rustc - Rust is a multi-paradigm, general-purpose programming language designed for perf... Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. The Rust Security Response WG was notified that the `std::fs::remove_dir_all` standard library function is vulnerable a race condition enabling symlink following (CWE-363). An attacker could use this security issue to trick a privileged prog
debian
CVE-2018-25008P4MEDIUMCVSS 5.9fixed in rustc 1.29.0+dfsg1-1 (bookworm)2018
CVE-2018-25008 [MEDIUM] CVE-2018-25008: rustc - In the standard library in Rust before 1.29.0, there is weak synchronization in ... In the standard library in Rust before 1.29.0, there is weak synchronization in the Arc::get_mut method. This synchronization issue can be lead to memory safety issues through race conditions. Scope: local bookworm: resolved (fixed in 1.29.0+dfsg1-1) bullseye: resolved (fixed in 1.29.0+dfsg1-1) forky: resolved (fixed in 1.29.0+dfsg1-1) sid: resolved (fixed in 1.29.0
debian
CVE-2017-20004P4MEDIUMCVSS 5.9fixed in rustc 1.19.0+dfsg3-2 (bookworm)2017
CVE-2017-20004 [MEDIUM] CVE-2017-20004: rustc - In the standard library in Rust before 1.19.0, there is a synchronization proble... In the standard library in Rust before 1.19.0, there is a synchronization problem in the MutexGuard object. MutexGuards can be used across threads with any types, allowing for memory safety issues through race conditions. Scope: local bookworm: resolved (fixed in 1.19.0+dfsg3-2) bullseye: resolved (fixed in 1.19.0+dfsg3-2) forky: resolved (fixed in 1.19.0+dfsg3-2) s
debian
Debian Rustc vulnerabilities | cvebase