Lucene search
+L
RustsecMost viewed

1224 matches found

RustSec
RustSec
added 2018/06/15 12:00 p.m.34 views

Use-after-free with objects returned by `Stream`'s `get_format_info` and `get_context` methods

Affected versions contained a pair of use-after-free issues with the objects returned by the getformatinfo and getcontext methods of Stream objects. These objects were mistakenly being constructed without setting an important flag to prevent destruction of the underlying C objects they reference...

3.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/05/28 12:00 p.m.33 views

`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
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/03/19 12:00 p.m.33 views

tar-rs incorrectly ignores PAX size headers if header size is nonzero

Versions 0.4.44 and below of tar-rs have conditional logic that skips the PAX size header in cases where the base header size is nonzero. As part of CVE-2025-62518astral-cve, the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the...

8.1CVSS7.4AI score0.00677EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2023/03/24 12:00 p.m.33 views

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

6.7AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2022/10/25 12:00 p.m.33 views

evm incorrect state transition

SputnikVM, also called evm, is a Rust implementation of Ethereum Virtual Machine. A custom stateful precompile can use the isstatic parameter to determine if the call is executed in a static context via STATICCALL, and thus decide if stateful operations should be done. Prior to version 0.36.0, th...

7.5CVSS1.6AI score0.00584EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2022/09/29 12:00 p.m.33 views

matrix-sdk Impersonation of room keys

When the user receives a forwarded room key, the software accepts it without checking who the room key came from. This allows homeservers to try to insert room keys of questionable validity, potentially mounting an impersonation attack...

8.6CVSS4.6AI score0.00521EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2021/09/24 12:00 p.m.33 views

`#[zeroize(drop)]` doesn't implement `Drop` for `enum`s

Affected versions of this crate did not implement Drop when zeroizedrop was used on an enum. This can result in memory not being zeroed out after dropping it, which is exactly what is intended when adding this attribute. The flaw was corrected in version 1.2 and zeroizedrop on enums now properly...

9.8CVSS3.7AI score0.01191EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2021/02/18 12:00 p.m.33 views

`through` and `through_and` causes a double free if the map function panics

through and throughand take a mutable reference as well as a mapping function to change the provided reference. They do this by calling ptr::read on the reference which duplicates ownership and then calling the mapping function. If the mapping function panics, both the original object and the one...

9.8CVSS2.5AI score0.01326EPSS
SaveExploits1
RustSec
RustSec
added 2021/02/17 12:00 p.m.33 views

Tape::take_bytes exposes uninitialized memory to a user-provided Read

Affected versions of this crate passed an unininitialized buffer to a user-provided Read instance in Tape::takebytes. This can result in safe Read implementations reading from the uninitialized buffer leading to undefined behavior. The flaw was corrected in commit 1f2dc7f37dd by removing the unsa...

7.5CVSS4.8AI score0.01059EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2021/01/10 12:00 p.m.33 views

panic safety issue in `impl TransformContent<S, D> for [S; (2|3|4)]`

Affected versions of this crate did not guard against double drop while temporarily duplicating objects' ownership using ptr::read. Upon panic in a user-provided function conversion, objects that are copied by ptr::read are dropped twice, leading to memory corruption. The flaw was corrected in...

7.5CVSS2.1AI score0.01327EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2020/12/27 12:00 p.m.33 views

`Read` on uninitialized buffer in `fill_buf()` and `read_up_to()`

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

4.2AI score
SaveExploits0
RustSec
RustSec
added 2020/12/08 12:00 p.m.33 views

Thex<T> allows data races of non-Send types across threads

thex::Thex implements Sync for all types T. However, it is missing a bound for T: Send. This allows non-Send types such as Rc to be sent across thread boundaries which can trigger undefined behavior and memory corruption...

5.5CVSS2.2AI score0.0031EPSS
SaveExploits0
RustSec
RustSec
added 2020/11/02 12:00 p.m.33 views

Use-after-free when cloning a partially consumed `Vec` iterator

The IntoIter Clone implementation clones the whole underlying Vec. If the iterator is partially consumed the consumed items will be copied, thus creating a use-after-free access. A proof of concept is available in the original bug report...

7.5CVSS2.3AI score0.01233EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2020/10/31 12:00 p.m.33 views

GenericMutexGuard allows data races of non-Sync types across threads

GenericMutexGuard was given the Sync auto trait as long as T is Send due to its contained members. However, since the guard is supposed to represent an acquired lock and allows concurrent access to the underlying data from different threads, it should only be Sync when the underlying data is. Thi...

5.5CVSS1.8AI score0.00374EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2020/09/27 12:00 p.m.33 views

VecCopy allows misaligned access to elements

VecCopy::data is created as a Vec of u8 but can be used to store and retrieve elements of different types leading to misaligned access. The issue was resolved in v0.5.0 by replacing data being stored by Vec with a custom managed pointer. Elements are now stored and retrieved using types with prop...

5.5CVSS2.3AI score0.00374EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2019/09/06 12:00 p.m.33 views

fix unsound APIs that could lead to UB

Affected versions of this crate API could use uninitialized memory with some APIs in special cases, like use the API in none generator context. This could lead to UB. The flaw was corrected by This patch fixes all those issues above...

7.8CVSS2.6AI score0.01635EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2019/06/08 12:00 p.m.33 views

Out of Memory in stream::read_raw_bytes_into()

Affected versions of this crate called Vec::reserve on user-supplied input. This allows an attacker to cause an Out of Memory condition while calling the vulnerable method on untrusted data...

7.5CVSS5.6AI score0.03764EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2019/05/15 12:00 p.m.33 views

Failure to properly verify ed25519 signatures makes any signature valid

Affected versions of this crate did not properly verify ed25519 signatures. Any signature with a correct length was considered valid. This allows an attacker to impersonate any node identity...

7.5CVSS4.7AI score0.00765EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2018/06/01 12:00 p.m.33 views

Use after free in CMS Signing

Affected versions of the OpenSSL crate used structures after they'd been freed...

9.8CVSS2.6AI score0.01744EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2017/01/26 12:00 p.m.33 views

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.5CVSS3.4AI score0.01251EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2016/09/06 12:00 p.m.33 views

rust-crypto is unmaintained; switch to a modern alternative

The rust-crypto crate has not seen a release or GitHub commit since 2016, and its author is unresponsive. NOTE: The old rust-crypto crate with hyphen should not be confused with similarly named new RustCrypto GitHub Org without hyphen. The GitHub Org is actively maintained. We recommend you switc...

1.3AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/05/21 12:00 p.m.32 views

WASI path_open(TRUNCATE) bypasses `FilePerms::WRITE` host restriction

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-2r75-cxrj-cmph For more information see the GitHub-hosted security advisory...

7.5CVSS5.8AI score0.00357EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/05/08 12:00 p.m.32 views

`InterfaceAccount` allows account substitution between unexpected types

Affected versions of anchor-lang allowed InterfaceAccount to accept accounts with an unexpected Anchor discriminator. A change to InterfaceAccount caused checked deserialization to be bypassed for this account wrapper, so validation proved only that the account owner matched one of the accepted...

5.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/04/22 12:00 p.m.32 views

Reachable panic in certificate revocation list parsing

A panic was reachable when parsing certificate revocation lists via BorrowedCertRevocationList::fromder or OwnedCertRevocationList::fromder. This was the result of mishandling a syntactically valid empty BIT STRING appearing in the onlySomeReasons element of a IssuingDistributionPoint CRL...

5.4AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/04/14 12:00 p.m.32 views

Use-After-Free and Double Free in IntoIter::drop When Element Drop Panics

A Double Free / Use-After-Free UAF vulnerability has been identified in the IntoIter::drop and ThinVec::clear implementations of the thin-vec crate. Both vulnerabilities share the same root cause and can trigger memory corruption using only safe Rust code - no unsafe blocks required. Undefined...

7.3CVSS5.7AI score0.00168EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2023/03/24 12:00 p.m.32 views

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

6.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2022/10/24 12:00 p.m.32 views

matrix-sdk 0.6.0 logs access tokens

When sending Matrix requests using an affected version of matrix-sdk in an application that writes logs using tracing-subscriber in a way that includes fields of tracing spans such as tracingsubscribers default text output from the fmt module, these logs will contain the user's access token...

4.3AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2022/10/10 12:00 p.m.32 views

Slack Webhooks secrets leak in debug logs

Debug log formatting made it possible to leak Webhooks secrets into debug logs. The patched version has introduced more strict checks to avoid this...

7.5CVSS2.4AI score0.00719EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2022/05/21 12:00 p.m.32 views

Panic due to improper UTF-8 indexing

When parsing untrusted rulex expressions, rulex may panic, possibly enabling a Denial of Service attack. This happens when the expression contains a multi- byte UTF-8 code point in a string literal or after a backslash, because rulex tries to slice into the code point and panics as a result. The...

6.5CVSS1.2AI score0.00833EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2021/10/22 12:00 p.m.32 views

sodiumoxide is deprecated

Alternatives may be found - not in any specific order: - libsodium-sys-stable - dryoc - RustCrypto/nacl-compat cryptobox, cryptokx, cryptosecretstream - RustCrypto/xsalsa20poly1305 cryptosecretbox - Signatory - ed25519-compact - ed25519-dalek - ring Recommendations can be also found from: - Aweso...

1.7AI score
SaveExploits0
RustSec
RustSec
added 2021/07/30 12:00 p.m.32 views

Partial read is incorrect in molecule

Anyone who uses totalsize.. function to partial read the length of any FixVec will get an incorrect result, due to an incorrect implementation. This has been resolved in the 0.7.2 release...

9.8CVSS2.6AI score0.01318EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2021/07/15 12:00 p.m.32 views

Uncontrolled Search Path Element in sharkdp/bat

bat on windows before 0.18.2 executes programs named less.exe from the current working directory. This can lead to unintended code execution...

7.8CVSS2.8AI score0.00356EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2021/05/19 12:00 p.m.32 views

Soundness issue in `iced-x86` versions <= 1.10.3

Versions of iced-x86...

9.8CVSS2.1AI score0.01275EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2021/01/31 12:00 p.m.32 views

KeyValueReader passes uninitialized memory to Read instance

The KeyValueReader type in affected versions of this crate set up an uninitialized memory buffer and passed them to be read in to a user-provided Read instance. The Read instance could read uninitialized memory and cause undefined behavior and miscompilations. This issue was fixed in commit dd59b...

9.8CVSS5.2AI score0.011EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2021/01/26 12:00 p.m.32 views

Record::read : Custom `Read` on uninitialized buffer may cause UB

Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation. Record::read 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...

7.5CVSS3.2AI score0.01498EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2021/01/20 12:00 p.m.32 views

Soundness issues in `raw-cpuid`

Undefined behavior in asstring methods VendorInfo::asstring, SoCVendorBrand::asstring, and ExtendedFunctionInfo::processorbrandstring construct byte slices using std::slice::fromrawparts, with data coming from reprRust structs. This is always undefined behavior. See...

7.5CVSS0.8AI score0.01261EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2021/01/10 12:00 p.m.32 views

Double drop upon panic in 'fn map_array()'

Affected versions of this crate did not guard against panic within the user-provided function f 2nd parameter of fn maparray, and thus panic within f causes double drop of a single object. The flaw was corrected in the 0.4.0 release by wrapping the object vulnerable to a double drop within...

7.5CVSS2.5AI score0.0139EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2020/12/22 12:00 p.m.32 views

`Demuxer` can carry non-Send types across thread boundaries

In the affected versions of this crate, Demuxer unconditionally implemented Send with no trait bounds on T. This allows sending a non-Send type T across thread boundaries, which can cause undefined behavior like unlocking a mutex from a thread that didn't lock the mutex, or memory corruption from...

5.9CVSS2.7AI score0.00801EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2020/11/10 12:00 p.m.32 views

AtomicBox<T> implements Send/Sync for any `T: Sized`

Affected versions of this crate implements Send/Sync for AtomicBox without requiring T: Send/T: Sync. This allows to create data races to T: !Sync and send T: !Send to another thread. Such behavior breaks the compile-time thread safety guarantees of Rust, and allows users to incur undefined...

8.1CVSS3AI score0.00766EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2020/09/04 12:00 p.m.32 views

futures_task::waker may cause a use-after-free if used on a type that isn't 'static

Affected versions of the crate did not properly implement a 'static lifetime bound on the waker function. This resulted in a use-after-free if Waker::wake is called after original data had been dropped. The flaw was corrected by adding 'static lifetime bound to the data waker takes...

7.8CVSS3.6AI score0.00493EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2020/05/02 12:00 p.m.32 views

failure is officially deprecated/unmaintained

The failure crate is officially end-of-life: it has been marked as deprecated by the former maintainer, who has announced that there will be no updates or maintenance work on it going forward. The following are some suggested actively developed alternatives to switch to: - anyhow - eyre - fehler ...

2.7AI score
SaveExploits0
RustSec
RustSec
added 2019/11/13 12:00 p.m.32 views

Type confusion if __private_get_type_id__ is overridden

Safe Rust code can implement malfunctioning privategettypeid and cause type confusion when downcasting, which is an undefined behavior. Users who derive Fail trait are not affected...

9.8CVSS3.8AI score0.01487EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2018/12/22 12:00 p.m.32 views

Possible use-after-free with `proplist::Iterator`

Affected versions contained a possible use-after-free issue with property list iteration due to a lack of a lifetime constraint tying the lifetime of a proplist::Iterator to the Proplist object for which it was created. This made it possible for users, without experiencing a compiler error/warnin...

6.5CVSS3.3AI score0.00988EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2018/10/09 12:00 p.m.32 views

Stack overflow when parsing malicious DNS packet

There's a stack overflow leading to a crash when Trust-DNS's parses a malicious DNS packet. Affected versions of this crate did not properly handle parsing of DNS message compression RFC1035 section 4.1.4. The parser could be tricked into infinite loop when a compression offset pointed back to th...

7.5CVSS3.6AI score0.01411EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/08/20 12:00 p.m.31 views

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

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

5.4AI score
SaveExploits0
RustSec
RustSec
added 2026/07/11 12:00 p.m.31 views

`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
SaveExploits0
RustSec
RustSec
added 2026/06/29 12:00 p.m.31 views

Quadratic run time when checking a start tag for duplicate attribute names

BytesStart::attributes returns an Attributes iterator which, by default withcheckstrue, rejects a start tag that repeats an attribute name. For each attribute yielded, the iterator compared the new name against every name seen so far in the same tag using a linear scan, so a start tag with N...

5.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/06/05 12:00 p.m.31 views

Possible use after free when deserializing a SQLite database via `SqliteConnection::deserialize_readonly_database`

Diesel allows loading a SQLite database from a byte buffer, represented as &u8, at runtime via the SqliteConnection::deserializereadonlydatabase function. In previous versions of Diesel, this buffer was passed directly to libsqlite3. Since libsqlite3 requires the buffer to remain alive for as lon...

5.7AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/02/20 12:00 p.m.31 views

`polymarkets-rs-clob-client` 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 1 version published on 2026-02-19 approximately 20 hours before removal and had no evidence of actual downloads. There were no crates...

5.5AI score
SaveExploits0
RustSec
RustSec
added 2023/01/11 12:00 p.m.31 views

`tokio::io::ReadHalf<T>::unsplit` is Unsound

tokio::io::ReadHalf::unsplit can violate the Pin contract The soundness issue is described in the tokio/issues5372 Specific set of conditions needed to trigger an issue a !Unpin type in ReadHalf is unusual, combined with the difficulty of making any arbitrary use-after-free exploitable in Rust...

1.6AI score
SaveExploits0Affected Software1
Total number of security vulnerabilities1224