Lucene search
+L
RustSecMost viewed

1333 matches found

RustSec
RustSec
•added 2025/12/22 12:00 p.m.•30 views

Unsoundness of safe `reciprocal_mg10`

The function reciprocalmg10 is marked as safe but can trigger undefined behavior out-of-bounds access because it relies on debugassert! for safety checks instead of assert!. When compiled in release mode, the debugassert! is optimized out, potentially allowing invalid inputs to cause memory...

7.3AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2025/12/09 12:00 p.m.•30 views

`finch_cli_rust` was removed from crates.io for malicious code

This attempts to typosquat the existing crate finchcli to steal credentials from local files. The malicious crate had 1 version published on 2025-12-08 and had been downloaded 18 times. There were no crates depending on this crate on crates.io. Thanks to Matthias Zepper of NGI Sweden for reportin...

5.5AI score
SaveExploits0
RustSec
RustSec
•added 2025/11/28 12:00 p.m.•30 views

`Reader::open_mmap` unsoundly marks unsafe memmap operation as safe

maxminddb prior to version 0.27 declared Reader::openmmap as safe despite wrapping an inherently unsafe memmap2 operation with no extra step done to guarantee safety. This could have led to undefined behaviour if the file were to be modified on disk while the memory map was still active...

6.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2025/11/17 12:00 p.m.•30 views

gcc crate is unmaintained

The gcc crate is deprecated and no longer actively maintained. If you rely on this crate, consider switching to a recommended alternative. Recommended alternatives - cc...

6.9AI score
SaveExploits0
RustSec
RustSec
•added 2025/10/18 12:00 p.m.•30 views

`unic-cli` is unmaintained

All Unicode crates that are part of https://github.com/open-i18n/rust-unic are unmaintained...

7AI score
SaveExploits0
RustSec
RustSec
•added 2025/10/18 12:00 p.m.•30 views

Segmentation fault and invalid memory read in `mnl::cb_run`

The function mnl::cbrun is marked as safe but exhibits unsound behavior when processing malformed Netlink message buffers. Passing a crafted byte slice to mnl::cbrun can trigger memory violations. The function does not sufficiently validate the input buffer structure before processing, leading to...

5.7AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2025/09/09 12:00 p.m.•30 views

The `google-apis-rs` project is now unmaintained

Instead, please start using and migrate to the official Google Rust bindings...

7AI score
SaveExploits0
RustSec
RustSec
•added 2025/07/17 12:00 p.m.•30 views

ConstStaticCell could have been used to pass non-Send values to another thread

ConstStaticCell could have been used to pass non-Send values to another thread, because T was not required to be Send while ConstStaticCell is Send. This was corrected by introducing a T: Send bound...

7.1AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2025/04/04 12:00 p.m.•30 views

Use-After-Free in `Md::fetch` and `Cipher::fetch`

When a Some... value was passed to the properties argument of either of these functions, a use-after-free would result. In practice this would nearly always result in OpenSSL treating the properties as an empty string due to CString::drop's behavior. The maintainers thank quitbug for reporting th...

7AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/02/25 12:00 p.m.•30 views

Post-Quantum Signature scheme Rainbow level I parametersets broken

Ward Beullens found a practical key-recovery attack against Rainbow. The level I parametersets are removed from liboqs starting from version 0.7.2. Find the scientific details in Breaking Rainbow Takes a Weekend on a Laptop. This means all the oqs::sig::Algorithm::RainbowI variants are insecure...

4.2AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/01/21 12:00 p.m.•30 views

Improper validation of Windows paths could lead to directory traversal attack

towerhttp::services::fs::ServeDir didn't correctly validate Windows paths meaning paths like /foo/bar/c:/windows/web/screen/img101.png would be allowed and respond with the contents of c:/windows/web/screen/img101.png. Thus users could potentially read files anywhere on the filesystem. This only...

4.4AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/01/01 12:00 p.m.•30 views

Stack overflow in rustc_serialize when parsing deeply nested JSON

When parsing JSON using json::Json::fromstr, there is no limit to the depth of the stack, therefore deeply nested objects can cause a stack overflow, which aborts the process. Example code that triggers the vulnerability is rust fn main let = rustcserialize::json::Json::fromstr&"0,".repeat10000;...

3.6AI score
SaveExploits0
RustSec
RustSec
•added 2021/10/14 12:00 p.m.•30 views

Incorrect use of `set_len` allows for un-initialized memory

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...

1.1AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/09/08 12:00 p.m.•30 views

Miscomputed results when using AVX2 backend

The v0.9.7 release of the sha2 crate introduced a new AVX2-accelerated backend which was automatically enabled for all x86/x8664 CPUs where AVX2 support was autodetected at runtime. This backend was buggy and would miscompute results for long messages i.e. messages spanning multiple SHA blocks. T...

9.8CVSS2.2AI score0.00831EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/08/16 12:00 p.m.•30 views

spirv_headers is unmaintained, use spirv instead

Because of versioning issues; the spirvheaders crate is unmaintained. Use spirv for parsing spirv files...

2.9AI score
SaveExploits0
RustSec
RustSec
•added 2021/07/22 12:00 p.m.•30 views

`better-macro` has deliberate RCE to prove a point

better-macro is a fake crate which is "Proving A Point" that proc-macros can run arbitrary code. This is not a particularly novel or interesting observation. It currently opens https://github.com/raycar5/better-macro/blob/master/doc/hi.md which doesn't appear to have any malicious content, but...

9.8CVSS1.3AI score0.02567EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/05/07 12:00 p.m.•30 views

anymap is unmaintained.

The anymap crate does not appear to be maintained, and the most recent published version 0.12.1 includes a soundness bug. This has been fixed a few years ago, but was never released...

9.8CVSS3.3AI score0.01441EPSS
SaveExploits1
RustSec
RustSec
•added 2021/03/07 12:00 p.m.•30 views

'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.5CVSS3.4AI score0.00961EPSS
SaveExploits0
RustSec
RustSec
•added 2021/01/20 12:00 p.m.•30 views

Optional `Deserialize` implementations lacking validation

When activating the non-default feature serialize, most structs implement serde::Deserialize without sufficient validation. This allows breaking invariants in safe code, leading to: Undefined behavior in asstring methods which use std::str::fromutf8unchecked internally. Panics due to failed...

9.8CVSS1.6AI score0.0116EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/01/04 12:00 p.m.•30 views

kamadak-exif DoS with untrusted PNG data

Attacker crafted data can cause a infinite loop leading to DoS if used with untrusted data...

6.5CVSS2.5AI score0.01534EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2020/12/18 12:00 p.m.•30 views

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.1CVSS3.6AI score0.01249EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2020/12/10 12:00 p.m.•30 views

Multiple soundness issues in `Ptr`

Affected versions of this crate have the following issues: 1. Ptr implements Send and Sync for all types, this can lead to data races by sending non-thread safe types across threads. 2. Ptr::get violates mutable alias rules by returning multiple mutable references to the same object. 3. Ptr::writ...

5.9CVSS2AI score0.00978EPSS
SaveExploits2
RustSec
RustSec
•added 2020/11/13 12:00 p.m.•30 views

Send/Sync bound needed on V in `impl Send/Sync for ARCache<K, V>`

Affected versions of this crate unconditionally implemented Send/Sync traits for ARCache type. This allows users to send/access types that do not implement Send/Sync, which can cause a data race. The flaw was corrected in the 0.2.6 release by adding bounds K: Send + Sync & V: Send + Sync to...

4.7CVSS2.9AI score0.00245EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2020/09/25 12:00 p.m.•30 views

Insufficient size checks in outgoing buffer in ws allows remote attacker to run the process out of memory

Affected versions of this crate did not properly check and cap the growth of the outgoing buffer. This allows a remote attacker to take down the process by growing the buffer of their single connection until the process runs out of memory it can allocate and is killed. The flaw was corrected in t...

7.5CVSS4AI score0.01352EPSS
SaveExploits0
RustSec
RustSec
•added 2020/09/03 12:00 p.m.•30 views

Memory safety issues in `compact::Vec`

compact::Vec contains multiple memory safety issues. 1. It mishandles large capacity and causes out-of-bound access in 32-bit / allocator layout mismatch in 64-bit. 2. remove is not panic-safe and causes double-free when an index larger than the length is provided...

7.5CVSS3.1AI score0.01407EPSS
SaveExploits1
RustSec
RustSec
•added 2020/07/14 12:00 p.m.•30 views

mach is unmaintained

Last release was almost 4 years ago. Maintainers seem to be completely unreachable. Possible Alternatives These may or may not be suitable alternatives and have not been vetted in any way; - mach2 - direct fork...

3.5AI score
SaveExploits0
RustSec
RustSec
•added 2020/07/09 12:00 p.m.•30 views

Improper uniqueness verification of signature threshold

The tough library, prior to 0.7.1, does not properly verify the uniqueness of keys in the signatures provided to meet the threshold of cryptographic signatures. It allows someone with access to a valid signing key to create multiple valid signatures in order to circumvent TUF requiring a minimum...

9.8CVSS1.5AI score0.00987EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2020/04/24 12:00 p.m.•30 views

fake-static allows converting any reference into a `'static` reference

fake-static allows converting a reference with any lifetime into a reference with 'static lifetime without the unsafe keyword. Internally, this crate does not use unsafe code, it instead exploits a soundness bug in rustc: https://github.com/rust-lang/rust/issues/25860...

1.8AI score
SaveExploits0
RustSec
RustSec
•added 2020/03/19 12:00 p.m.•30 views

CBox API allows to de-reference raw pointers without `unsafe` code

CBox and CSemiBox are part of the public API of the cbox crate and they allow to create smart pointers from raw pointers and de-reference them without the need of unsafe code...

9.8CVSS3.8AI score0.01649EPSS
SaveExploits1
RustSec
RustSec
•added 2020/02/10 12:00 p.m.•30 views

lzw is unmaintained

The author of the lzw crate is unresponsive. Maintained alternatives: - weezl...

2.1AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2020/01/22 12:00 p.m.•30 views

Observable Discrepancy in libsecp256k1-rs

A timing vulnerability in the Scalar::checkoverflow function in Parity libsecp256k1-rs before 0.3.1 potentially allows an attacker to leak information via a side-channel attack...

5.9CVSS3.9AI score0.00881EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2020/01/21 12:00 p.m.•30 views

Threshold value is ignored (all shares are n=3)

Affected versions of this crate did not properly calculate secret shares requirements. This reduces the security of the algorithm by restricting the crate to always using a threshold value of three, rather than a configurable limit. The flaw was corrected by correctly configuring the threshold...

2.5AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2018/12/20 12:00 p.m.•30 views

Flaw in streaming state reset() functions can create incorrect results.

Affected versions of this crate did not properly reset a streaming state. Resetting a streaming state, without finalising it first, creates incorrect results. The flaw was corrected by not first checking if the state had already been reset, when calling reset...

7.5CVSS3.3AI score0.01598EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2018/12/09 12:00 p.m.•30 views

MsQueue and SegQueue suffer from double-free

Even if an element is popped from a queue, crossbeam would run its destructor inside the epoch-based garbage collector. This is a source of double frees. The flaw was corrected by wrapping elements inside queues in a ManuallyDrop. Thanks to @c0gent for reporting the issue...

9.8CVSS8.3AI score0.01744EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2018/11/27 12:00 p.m.•30 views

Vec-to-vec transmutations could lead to heap overflow/corruption

Affected versions of this crate switched the length and capacity arguments in the Vec::fromrawparts constructor, which could lead to memory corruption or data leakage. The flaw was corrected by using the constructor correctly...

9.8CVSS2.8AI score0.01977EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2018/08/22 12:00 p.m.•30 views

Use of uninitialized memory in temporary

Uninit memory is used as a RNG seed in temporary The following function is used as a way to get entropy from the system, which does operations on and exposes uninit memory, which is UB. rust fn randomseed: &Path, : &str - u64; 2 use std::mem::uninitialized as rand; unsafe rand:: ^ 0x12345678,...

1.1AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/08/20 12:00 p.m.•29 views

`arone` was removed from crates.io due to malicious code

We identified that arone contained malicious code executed through a build script. This crate had 7 versions, with the most recent one being published at 2026-08-18. The crate was removed from crates.io on 2026-08-20 and the user account was locked. This crate was used as part of a malware campai...

5.5AI score
SaveExploits0
RustSec
RustSec
•added 2026/08/11 12:00 p.m.•29 views

Panic-safety unsoundness in `Chunk`, `RingBuffer`, and `InlineArray` (use-after-free / double-free)

Several methods in sized-chunks drop elements before updating the length/boundary metadata. If an element's Drop panics during the drop, the metadata update is skipped, so the container still treats the already-dropped elements as live. When the container's own Drop runs, those elements are visit...

5.3AI score
SaveExploits0
RustSec
RustSec
•added 2026/08/01 12:00 p.m.•29 views

Debug output exposes NIP-46 and NIP-60 credentials

Several NIP-46 and NIP-60 types used derived Debug implementations even though their fields contained credentials or decrypted application data. Formatting these values exposed NIP-46 connection secrets and request parameters, as well as NIP-60 private keys, Cashu bearer proofs, and quote...

5.5AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/07/21 12:00 p.m.•29 views

XSS in ammonia via SVG `animate` and `set` animation tags

The following SVG will produce a link with a javascript scheme. If the user clicks this link, they will run it. xml Click set Ammonia did not apply attribute filters based on attributeName, so the contents of the to, from, and values tags were not sanitized as URLs. Applications that do not...

5.4CVSS5.9AI score0.00355EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/07/06 12:00 p.m.•29 views

`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...

6.1AI score
SaveExploits0
RustSec
RustSec
•added 2026/07/06 12:00 p.m.•29 views

`Array::insert` violates exception safety if compare function panics, leading to potential Double-Free

In affected versions of this crate, Array::insert is not exception safe. In the UPSERT path, key and value's snapshot is written to self.datablock, and after the insertion is completed, key and value are mem::forget in order to prevent double free. However, during the insertion, K::compare is...

6.1AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/06/02 12:00 p.m.•29 views

Rojo development server vulnerable to DNS rebinding, allowing unauthenticated read/write access and local program execution

Rojo's rojo serve command starts an unauthenticated HTTP API on localhost default port 34872 with no Host or Origin header validation. While direct cross-origin fetch requests from a malicious website are blocked by the browser's default CORS policy, an attacker can use DNS rebinding to bypass th...

8.1CVSS6.1AI score0.0026EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/05/03 12:00 p.m.•29 views

sized-chunks is unmaintained

The sized-chunks crate is unmaintained; all versions are affected. The GitHub repository was archived by the owner on 2026-05-03. Recommended alternative: imbl-sized-chunks, a popular fork of this crate...

5.3AI score
SaveExploits0
RustSec
RustSec
•added 2026/04/30 12:00 p.m.•29 views

Panic when allocating a table exceeding the size of the host's address space

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-p8xm-42r7-89xg For more information see the GitHub-hosted security advisory...

7.5CVSS5.9AI score0.00581EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/03/20 12:00 p.m.•29 views

`tokio-signal` is unmaintained

The tokio-signal crate is unmaintained. It was part of the Tokio 0.1 ecosystem and has been superseded by the main tokio crate...

5.7AI score
SaveExploits0
RustSec
RustSec
•added 2026/03/20 12:00 p.m.•29 views

`tokio-current-thread` is unmaintained

The tokio-current-thread crate is unmaintained. It was part of the Tokio 0.1 ecosystem and has been superseded by the main tokio crate...

5.7AI score
SaveExploits0
RustSec
RustSec
•added 2026/03/19 12:00 p.m.•29 views

CRL Distribution Point Scope Check Logic Error in AWS-LC

A logic error in CRL distribution point matching in AWS-LC allows a revoked certificate to bypass revocation checks during certificate validation, when the application enables CRL checking and uses partitioned CRLs with Issuing Distribution Point IDP extensions. Customers of AWS services do not...

9.1CVSS6AI score0.00268EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/02/26 12:00 p.m.•29 views

Double-free and use-after-free for Hive

Drop implementation for Hive did perform free, but so did Hive::close, which, at the end of the scope performed Drop, therefore triggering double-free. Additionally, function Hive::fromhandle was not marked as unsafe, making it, in combination with ashandle easy to clone and trigger double-free i...

5.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/02/24 12:00 p.m.•29 views

`rpc-check` was removed from crates.io for malicious code

This is part of an ongoing campaign to attempt to typosquat crates in the polymarket-client-sdk ecosystem to exfiltrate user credentials. The malicious crate had 6 versions published from 2026-02-20 onwards and had no evidence of actual usage. There were no crates depending on this crate on...

5.5AI score
SaveExploits0
Total number of security vulnerabilities1333