Lucene search
+L
Osv-rustsecMost viewed

1310 matches found

osv-rustsec
osv-rustsec
•added 2018/06/29 12:00 p.m.•33 views

RUSTSEC-2018-0002 Links in archives can overwrite any existing file

When unpacking a tarball with the unpackin-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the sam...

7.5CVSS7.4AI score0.01676EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/08/11 12:00 p.m.•32 views

RUSTSEC-2026-0252 Panic-safety unsoundness in `SplitVec::extend_from_slice` (uninitialized read)

SplitVec::extendfromslice increments the logical length self.len before cloning the incoming elements into the reserved slots. If an element's Clone panics mid-fill, unwinding leaves self.len counting slots that were never initialized. A later safe read get, indexing, iter then reads one of those...

5.3AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/05/29 12:00 p.m.•32 views

RUSTSEC-2026-0151 Out-of-bounds writes due to integer overflow in jxl-grid on 32-bit platforms

On 32-bit platforms, decoding a crafted image may lead to out-of-bounds writes due to integer overflow in length calculation. This could allow arbitrary code execution. Details & PoC The test listed below fail under miri with command cargo +nightly miri test --release -p jxl-grid Or you can use...

7.3CVSS6.7AI score0.00174EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/05/26 12:00 p.m.•32 views

RUSTSEC-2026-0212 Potentially Incorrect Output of Constant-Time Swap/Select on Aarch64

The implementation of constant-time swap and select on aarch64 platforms used a cmp instruction in inline assembly to check whether an 8-bit wide selector was 0. The cmp instruction works on 32-bit registers, which included the unspecified high 24 bits of the cmp operand. Depending on the executi...

8.2CVSS5.8AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/05/02 12:00 p.m.•32 views

RUSTSEC-2026-0123 Out-of-bounds read in `bytes_helper` public safe functions

The byteshelper module contains multiple public functions intoarr4, intoarr2, u8fromlebytes that use slice.getuncheckedpos..pos + N without verifying that pos + N = slice.len. These are public safe API functions, allowing any caller to trigger undefined behavior by passing invalid positions. For...

5.8AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/09/05 12:00 p.m.•32 views

RUSTSEC-2024-0372 Memory leak when calling a canister method via `ic_cdk::call`

When a canister method is called via iccdk::call, a new Future CallFuture is created and can be awaited by the caller to get the execution result. Internally, the state of the Future is tracked and stored in a struct called CallFutureState. A bug in the polling implementation of the CallFuture...

7.5CVSS7.6AI score0.00693EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/05/02 12:00 p.m.•32 views

RUSTSEC-2024-0342 Degraded secret zeroization capabilities

Versions 0.5.0 and 0.5.1 of vodozemac have degraded secret zeroization capabilities, due to changes in third-party cryptographic dependencies the Dalek crates, which moved secret zeroization capabilities behind a feature flag while vodozemac disabled the default feature set. Impact The degraded...

2.5CVSS3.9AI score0.00135EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/05/10 12:00 p.m.•32 views

RUSTSEC-2022-0042 malicious crate `rustdecimal`

The Rust Security Response WG and the crates.io team were notified1 on 2022-05-02 of the existence of the malicious crate rustdecimal, which contained malware. The crate name was intentionally similar to the name of the popular rustdecimal2 crate, hoping that potential victims would misspell its...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/09/17 12:00 p.m.•32 views

RUSTSEC-2021-0110 Multiple Vulnerabilities in Wasmtime

Use after free passing externrefs to Wasm in Wasmtime Out-of-bounds read/write and invalid free with externrefs and GC safepoints in Wasmtime Wrong type for Linker-define functions when used across two Engines...

6.3CVSS6.4AI score0.00361EPSS
SaveExploits0References5
osv-rustsec
osv-rustsec
•added 2021/07/07 12:00 p.m.•32 views

RUSTSEC-2021-0079 Integer overflow in `hyper`'s parsing of the `Transfer-Encoding` header leads to data loss

When decoding chunk sizes that are too large, hyper's code would encounter an integer overflow. Depending on the situation, this could lead to data loss from an incorrect total size, or in rarer cases, a request smuggling attack. To be vulnerable, you must be using hyper for any HTTP/1 purpose,...

9.1CVSS9.1AI score0.01155EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2021/06/11 12:00 p.m.•32 views

RUSTSEC-2021-0156 Triton VM Soundness Vulnerability due to Missing Constraint

The instruction spongeabsorbmem Triton VM fails to verify that hashed values come from the claimed memory location. Malicious provers can substitute arbitrary data instead of actual memory contents. Any application using instruction spongeabsorbmem to hash memory data can be given a proof for a...

5.6AI score
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2021/03/07 12:00 p.m.•32 views

RUSTSEC-2021-0053 'merge_sort::merge()' crashes with double-free for `T: Drop`

In the affected versions of this crate, mergesort::merge wildly duplicates and drops ownership of T without guarding against double-free. Due to such implementation, simply invoking mergesort::merge on Vec can cause double free bugs...

7.5CVSS7.4AI score0.00961EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/02/19 12:00 p.m.•32 views

RUSTSEC-2021-0028 Multiple memory safety issues in insert_row

When inserting rows from an iterator at a particular index, toodee would shift items over, duplicating their ownership. The space reserved for the new elements was based on the len returned by the ExactSizeIterator. This could result in elements in the array being freed twice if the iterator...

9.8CVSS8.5AI score0.01295EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/02/17 12:00 p.m.•32 views

RUSTSEC-2021-0112 `Read` on uninitialized buffer may cause UB ('tectonic_xdv' crate)

Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation. Arbitrary Read implementations can read from the uninitialized buffer memory exposure and also can return incorrect number of bytes written to the buffer. Reading from uninitialized memory...

9.8CVSS9.4AI score0.01191EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/12/18 12:00 p.m.•32 views

RUSTSEC-2020-0129 ShmWriter allows sending non-Send type across threads

Affected versions of this crate implement Send for ShmWriter without requiring H: Send. This allows users to send H: !Send to other threads, which can potentially lead to data races and undefined behavior...

8.1CVSS8AI score0.01249EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/11/13 12:00 p.m.•32 views

RUSTSEC-2020-0080 `miow` invalidly assumes the memory layout of std::net::SocketAddr

The miow crate has assumed std::net::SocketAddrV4 and std::net::SocketAddrV6 have the same memory layout as the system C representation sockaddr. It has simply casted the pointers to convert the socket addresses to the system representation. The standard library does not say anything about the...

5.5CVSS5.3AI score0.00395EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/06/14 12:00 p.m.•32 views

RUSTSEC-2020-0029 Allows viewing and modifying arbitrary structs as bytes

Affected versions of rgb crate allow viewing and modifying data of any type T wrapped in RGB as bytes, and do not correctly constrain RGB and other wrapper structures to the types for which it is safe to do so. Safety violation possible for a type wrapped in RGB and similar wrapper structures: If...

9.1CVSS9.3AI score0.01595EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2017/01/26 12:00 p.m.•32 views

RUSTSEC-2017-0001 scalarmult() vulnerable to degenerate public keys

The scalarmult function included in previous versions of this crate accepted all-zero public keys, for which the resulting Diffie-Hellman shared secret will always be zero regardless of the private key used. This issue was fixed by checking for this class of keys and rejecting them if they are us...

6.5CVSS6.6AI score0.01251EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2016/09/10 12:00 p.m.•32 views

RUSTSEC-2016-0004 libusb is unmaintained; use rusb instead

The libusb crate has not seen a release since September 2016, and its author is unresponsive. The rusb crate is a maintained fork: https://github.com/a1ien/rusb...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2016/08/01 12:00 p.m.•32 views

RUSTSEC-2016-0003 HTTP download and execution allows MitM RCE

The build script in the portaudio crate will attempt to download via HTTP the portaudio source and build it. A Mallory in the middle can intercept the download with their own archive and get RCE...

5.9CVSS5.6AI score0.01078EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/08/01 12:00 p.m.•31 views

RUSTSEC-2026-0227 NIP-44 v2 decryption permits resource exhaustion

The NIP-44 decryption entry point Base64-decoded the complete attacker-controlled payload before determining its version or enforcing any size limit. For v2 payloads, the decoded buffer was then authenticated with HMAC even when it was much larger than the maximum payload supported by the crate's...

7.5CVSS5.7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/07/11 12:00 p.m.•31 views

RUSTSEC-2026-0206 `rustybuzz` is unmaintained

The current maintainer of rustybuzz has stated that the crate is unmaintained and will not receive further fixes or updates see the referenced issue. Alternatives - harfrust, an actively maintained and updated alternative which is part of the Harfbuzz project...

6.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/07/06 12:00 p.m.•31 views

RUSTSEC-2026-0203 `tree-sitter-perl-next` is unmaintained

The author of tree-sitter-perl-next has stated that the crate is unmaintained and will not receive further fixes see the repo's readme. Alternatives - ts-parser-perl , an actively maintained tree-sitter Perl grammar that tree-sitter-perl-next initially forked...

6AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/07/01 12:00 p.m.•31 views

RUSTSEC-2026-0196 `cgmath` is unmaintained

The cgmath crate is no longer maintained. Users should consider switching to a maintained alternative...

6AI score
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2024/05/22 12:00 p.m.•31 views

RUSTSEC-2024-0353 Refs and paths with reserved Windows device names access the devices

Summary On Windows, fetching refs that clash with legacy device names reads from the devices, and checking out paths that clash with such names writes arbitrary data to the devices. This allows a repository, when cloned, to cause indefinite blocking or the production of arbitrary message that...

5.4CVSS5.5AI score0.00448EPSS
SaveExploits0References5
osv-rustsec
osv-rustsec
•added 2023/09/13 12:00 p.m.•31 views

RUSTSEC-2023-0062 BER/CER/DER decoder panics on invalid input

Due to insufficient checking of input data, decoding certain data sequences can lead to bcder panicking rather than returning an error. This can affect both the actual decoding stage as well as accessing content of types that utilized delayed decoding. bcder 0.7.3 fixes these issues by more...

7.5CVSS7.3AI score0.00702EPSS
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2023/03/24 12:00 p.m.•31 views

RUSTSEC-2023-0022 `openssl` `X509NameBuilder::build` returned object is not thread safe

OpenSSL has a modified bit that it can set on on X509NAME objects. If this bit is set then the object is not thread-safe even when it appears the code is not modifying the value. Thanks to David Benjamin Google for reporting this issue...

7.2AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/07/12 12:00 p.m.•31 views

RUSTSEC-2022-0100 Use After Free with `externref`s in Wasmtime

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-5fhj-g3p3-pq9g. For more information see the GitHub-hosted security advisory...

8.8CVSS6.6AI score0.0125EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/04/07 12:00 p.m.•31 views

RUSTSEC-2021-0113 AtomicBucket<T> unconditionally implements Send/Sync

In the affected versions of the crate, AtomicBucket unconditionally implements Send/Sync traits. Therefore, users can create a data race to the inner T: !Sync by using the AtomicBucket::datawith API. Such data races can potentially cause memory corruption or other undefined behavior. The flaw was...

8.1CVSS8.1AI score0.00741EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/12/31 12:00 p.m.•31 views

RUSTSEC-2020-0153 `read` on uninitialized buffer may cause UB (bite::read::BiteReadExpandedExt::read_framed_max)

Affected versions of this crate calls a user provided Read implementation on an uninitialized buffer. Read on uninitialized buffer is defined as undefined behavior in Rust...

7.5CVSS7.5AI score0.01059EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/12/25 12:00 p.m.•31 views

RUSTSEC-2020-0143 Queues allow non-Send types to be sent to other threads, allowing data races

Affected versions of this crate unconditionally implemented Send for types used in queue implementations InnerSend, InnerRecv, FutInnerSend, FutInnerRecv. This allows users to send non-Send types to other threads, which can lead to data race bugs or other undefined behavior...

8.1CVSS8AI score0.01098EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/12/18 12:00 p.m.•31 views

RUSTSEC-2020-0098 UsbContext trait did not require implementers to be Send and Sync.

Affected versions of rusb did not require UsbContext to implement Send and Sync. However, through Device and DeviceHandle it is possible to use UsbContexts across threads. This issue allows non-thread safe UsbContext types to be used concurrently leading to data races and memory corruption. The...

7CVSS6.7AI score0.00285EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/08/25 12:00 p.m.•31 views

RUSTSEC-2020-0034 Multiple security issues including data race, buffer overflow, and uninitialized memory drop

arr crate contains multiple security issues. Specifically, 1. It incorrectly implements Sync/Send bounds, which allows to smuggle non-Sync/Send types across the thread boundary. 2. Index and IndexMut implementation does not check the array bound. 3. Array::newfromtemplate drops uninitialized memo...

9.8CVSS6.7AI score0.01534EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/07/04 12:00 p.m.•31 views

RUSTSEC-2020-0022 Ozone contains several memory safety issues

Ozone contains several memory safety issues including out-of-bound access and dropping of uninitialized memory...

9.8CVSS9.6AI score0.01534EPSS
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2019/07/04 12:00 p.m.•31 views

RUSTSEC-2019-0010 MultiDecoder::read() drops uninitialized memory of arbitrary type on panic in client code

Affected versions of libflate have set a field of an internal structure with a generic type to an uninitialized value in MultiDecoder::read and reverted it to the original value after the function completed. However, execution of MultiDecoder::read could be interrupted by a panic in caller-suppli...

9.8CVSS9.6AI score0.02458EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/08/16 12:00 p.m.•30 views

RUSTSEC-2026-0288 cosmian_kyber: AVX2 backend skips Fujisaki-Okamoto implicit rejection, enabling chosen-ciphertext key recovery

Summary cosmiankyber is a fork of Argyle-Software/kyber and inherits a broken constant-time conditional-move routine cmov in its AVX2 backend. When built with the opt-in avx2 feature on x8664, cmov is a no-op: it never performs the copy. That cmov is the step that applies the Fujisaki-Okamoto FO...

7.4CVSS5.8AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/07/05 12:00 p.m.•30 views

RUSTSEC-2026-0202 `let_cxx_string!` uses uninitialized value due to exception safety violations

In affected versions of this crate, letcxxstring! is not exception safe. After creating the StackString, if match $value panics, the content of StackString is not yet initialized, while the drop implementation of StackString unconditionally deinitializes the content, leading to use of uninitializ...

5.9AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/05/28 12:00 p.m.•30 views

RUSTSEC-2026-0191 `EbpfVm::invoke_function` performs out-of-bounds pointer arithmetic

Affected versions of solanarbpf expose the safe method EbpfVm::invokefunction. This method computes an obfuscated VM pointer by casting self to mut u64 and applying a randomized offset derived from getruntimeenvironmentkey. The resulting pointer arithmetic is performed with ptr::offset, which...

5.7AI score
SaveExploits0References5
osv-rustsec
osv-rustsec
•added 2026/04/07 12:00 p.m.•30 views

RUSTSEC-2026-0082 zantetsu-ffi is unmaintained

The zantetsu-ffi crate is no longer maintained. The Node.js, Python, and C FFI bindings it provided were removed as part of the zantetsu 0.2 release, which refocused the project on its core Rust library. A tombstone version 0.2.0 has been published and 0.1.4 has been yanked. There is no replaceme...

5.7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/03/06 12:00 p.m.•30 views

RUSTSEC-2025-0009 Some AES functions may panic when overflow checking is enabled.

ring::aead::quic::HeaderProtectionKey::newmask may panic when overflow checking is enabled. In the QUIC protocol, an attacker can induce this panic by sending a specially-crafted packet. Even unintentionally it is likely to occur in 1 out of every 232 packets sent and/or received. On 64-bit targe...

5.3CVSS7.2AI score0.01029EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/02/24 12:00 p.m.•30 views

RUSTSEC-2025-0008 Openh264 Decoding Functions Heap Overflow Vulnerability

OpenH264 recently reported a heap overflow that was fixed in upstream 63db555 and integrated into our 0.6.6 release. For users relying on Cisco's pre-compiled DLL, we also published 0.8.0, which is compatible with their latest fixed DLL version 2.6.0. In other words: - if you rely on our source...

8.6CVSS6.2AI score0.00687EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/12/09 12:00 p.m.•30 views

RUSTSEC-2024-0421 `idna` accepts Punycode labels that do not produce any non-ASCII when decoded

idna 0.5.0 and earlier accepts Punycode labels that do not produce any non-ASCII output, which means that either ASCII labels or the empty root label can be masked such that they appear unequal without IDNA processing or when processed with a different implementation and equal when processed with...

8.8CVSS6.1AI score0.00221EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2024/05/15 12:00 p.m.•30 views

RUSTSEC-2024-0340 Tor path lengths too short when "full Vanguards" configured

Description When building anonymizing circuits to or from an onion service with full vanguards enabled, the circuit manager code would build the circuits with one hop too few. Impact This makes users of this code more vulnerable to some kinds of traffic analysis when they run or visit onion...

7.3CVSS6.5AI score0.00298EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/01/13 12:00 p.m.•30 views

RUSTSEC-2024-0001 Unsound use of str::from_utf8_unchecked on bytes which are not UTF-8

Affected versions receive a &u8 from the caller through a safe API, and pass it directly to the unsafe str::fromutf8unchecked function. The behavior of ferrissays::say is undefined if the bytes from the caller don't happen to be valid UTF-8. The flaw was corrected in ferris-says21 by using the sa...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2023/08/16 12:00 p.m.•30 views

RUSTSEC-2023-0099 `envlogger` was removed from crates.io for malicious code

This crate was part of a typosquatting malware cluster published by the malicious user amaperf and contained a malware payload in build.rs to exfiltrate host information to the attacker. This advisory is to retrospectively document this attempted attack. The version information and download recor...

5.8AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2023/03/24 12:00 p.m.•30 views

RUSTSEC-2023-0024 `openssl` `X509Extension::new` and `X509Extension::new_nid` null pointer dereference

These functions would crash when the context argument was None with certain extension types. Thanks to David Benjamin Google for reporting this issue...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/11/07 12:00 p.m.•30 views

RUSTSEC-2022-0097 Out of bounds write in `wasmtime_trap_code` C API function

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-h84q-m8rr-3v9q. For more information see the GitHub-hosted security advisory...

3.8CVSS6.6AI score0.00342EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/10/22 12:00 p.m.•30 views

RUSTSEC-2022-0067 Invalid use of `mem::uninitialized` causes `use-of-uninitialized-value`

The compression and decompression function used mem:uninitialized to create an array of uninitialized values, to later write values into it. This later leads to reads from uninitialized memory. The flaw was corrected in commit b633bf265e41c60dfce3be7eac4e4dd5e18d06cf by using a heap-allocated Vec...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/02/17 12:00 p.m.•30 views

RUSTSEC-2022-0010 enum_map macro can cause UB when `Enum` trait is incorrectly implemented

Affected versions of this crate did not properly check the length of an enum when using enummap! macro, trusting user-provided length. When the LENGTH in the Enum trait does not match the array length in the EnumArray trait, this can result in the initialization of the enum map with uninitialized...

7.8AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/01/26 12:00 p.m.•30 views

RUSTSEC-2022-0040 Multiple soundness issues in `owning_ref`

OwningRef::mapwithowner is unsound and may result in a use-after-free. - OwningRef::map is unsound and may result in a use-after-free. - OwningRefMut::asowner and OwningRefMut::asownermut are unsound and may result in a use-after-free. - The crate violates Rust's aliasing rules, which may cause...

7.1AI score
SaveExploits0References7
Total number of security vulnerabilities1310