Lucene search
+L
RustSecMost viewed

1577 matches found

RustSec
RustSec
•added 2023/04/14 12:00 p.m.•71 views

Resource exhaustion vulnerability in h2 may lead to Denial of Service (DoS)

If an attacker is able to flood the network with pairs of HEADERS/RSTSTREAM frames, such that the h2 application is not able to accept them faster than the bytes are received, the pending accept queue can grow in memory usage. Being able to do this consistently can result in excessive memory use,...

7.5CVSS7.2AI score0.01121EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2023/02/07 12:00 p.m.•71 views

Use-after-free following `BIO_new_NDEF`

The public API function BIOnewNDEF is a helper function used for streaming ASN.1 data via a BIO. It is primarily used internally to OpenSSL to support the SMIME, CMS and PKCS7 streaming capabilities, but may also be called directly by end user applications. The function receives a BIO from the...

7.5CVSS7.1AI score0.05253EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/05/03 12:00 p.m.•71 views

Resource leakage when decoding certificates and keys

The OPENSSLLHflush function, which empties a hash table, contains a bug that breaks reuse of the memory occupied by the removed hash table entries. This function is used when decoding certificates or keys. If a long lived process periodically decodes certificates or keys its memory usage will...

7.5CVSS6.3AI score0.04717EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/03/08 12:00 p.m.•71 views

Regexes with large repetitions on empty sub-expressions take a very long time to parse

The Rust Security Response WG was notified that the regex crate did not properly limit the complexity of the regular expressions regex it parses. An attacker could use this security issue to perform a denial of service, by sending a specially crafted regex to a service accepting untrusted regexes...

7.5CVSS6.3AI score0.1446EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/05/01 12:00 p.m.•71 views

NULL pointer deref in signature_algorithms processing

An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signaturealgorithms extension where it was present in the initial ClientHello, but includes a signaturealgorithmscert extension then a NU...

5.9CVSS2.7AI score0.63542EPSS
SaveExploits3Affected Software1
RustSec
RustSec
•added 2022/11/01 12:00 p.m.•70 views

X.509 Email Address Variable Length Buffer Overflow

A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed a malicious certificate or for an application to continue certificate...

7.5CVSS7.8AI score0.92488EPSS
SaveExploits2Affected Software1
RustSec
RustSec
•added 2021/05/01 12:00 p.m.•70 views

Null pointer deref in `X509_issuer_and_serial_hash()`

The OpenSSL public API function X509issuerandserialhash attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field which might occur if the...

5.9CVSS6.5AI score0.07486EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2020/09/06 12:00 p.m.•70 views

Multiple soundness issues in Chunk and InlineArray

Chunk: Array size is not checked when constructed with unit and pair. Array size is not checked when constructed with From. Clone and insertfrom are not panic-safe; A panicking iterator causes memory safety issues with them. InlineArray: Generates unaligned references for types with a large...

7.5CVSS2.3AI score0.02921EPSS
SaveExploits6Affected Software1
RustSec
RustSec
•added 2026/06/04 12:00 p.m.•68 views

`pqcrypto` is unmaintained: upstream PQClean project being archived

The pqcrypto crate and the entire pqcrypto- ecosystem wrap C implementations from PQClean. The PQClean project is being archived in or after July 2026 see PQClean/PQClean604, after which no further security patches, algorithm updates, or bug fixes will be applied to the upstream implementations. ...

5.8AI score
SaveExploits0
RustSec
RustSec
•added 2026/06/04 12:00 p.m.•67 views

surf is unmaintained

The surf crate is unmaintained, and all versions are affected. For alternatives, consider using reqwest or ureq. See this issue for more context...

5.8AI score
SaveExploits0
RustSec
RustSec
•added 2025/09/11 12:00 p.m.•66 views

serde_yml crate is unsound and unmaintained

Using serdeyml::ser::Serializer.emitter can cause a segmentation fault, which is unsound. The GitHub project for serdeyml was archived after unsoundness issues were raised. If you rely on this crate, it is highly recommended switching to a maintained alternative. Recommended alternatives -...

7AI score
SaveExploits0
RustSec
RustSec
•added 2023/01/04 12:00 p.m.•66 views

reject_remote_clients Configuration corruption

On Windows, configuring a named pipe server with pipemode will force ServerOptions::rejectremoteclients as false. This drops any intended explicit configuration for the rejectremoteclients that may have been set as true previously. The default setting of rejectremoteclients is normally true meani...

5.4CVSS6AI score0.00612EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/11/29 12:00 p.m.•66 views

RustEmbed generated `get` method allows for directory traversal when reading files from disk

When running in debug mode and the debug-embed off by default feature is not enabled, the generated get method does not check that the input path is a child of the folder given. This allows attackers to read arbitrary files in the file system if they have control over the filename given. The...

7.5CVSS3.2AI score0.01645EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2026/04/23 12:00 p.m.•65 views

`sui-execution-cut` was removed from crates.io for malicious code

sui-execution-cut included a build script that attempted to exfiltrate data from the build machine. The malicious crate had 1 version published on 2026-04-20 and had no evidence of actual usage. This crate had no dependencies on crates.io...

5.8AI score
SaveExploits0
RustSec
RustSec
•added 2022/10/11 12:00 p.m.•65 views

Using a Custom Cipher with `NID_undef` may lead to NULL encryption

OpenSSL supports creating a custom cipher via the legacy EVPCIPHERmethnew function and associated function calls. This function was deprecated in OpenSSL 3.0 and application authors are instead encouraged to use the new provider mechanism in order to implement custom ciphers. OpenSSL versions 3.0...

7.5CVSS7AI score0.04044EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/02/17 12:00 p.m.•65 views

misc::vec_with_size() can drop uninitialized memory if clone panics

misc::vecwithsize creates a vector of the provided size and immediately calls vec.setlensize on it, initially filling it with uninitialized memory. It then inserts elements using veci = value.clone. If the value.clone call panics, uninitialized items in the vector will be dropped leading to...

9.8CVSS7.2AI score0.01423EPSS
SaveExploits1
RustSec
RustSec
•added 2026/08/20 12:00 p.m.•64 views

`internment` 0.8.7 was removed from crates.io due to a malicious dependency

A new version of the internment crate was published with a direct dependency on proc-macro1, which would execute a malicious build script. The compromised version of this crate was published on 2026-08-20, and was removed approximately 90 minutes later. The compromised version was used as part of...

5.5AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2025/11/28 12:00 p.m.•64 views

rustls-pemfile is unmaintained

The rustls-pemfile crate is no longer maintained. The repository has been archived since August 2025, and users are encouraged to depend directly on the underlying PEM parsing code included in rustls-pki-types since 1.9.0. The latest version of rustls-pemfile is in fact a thin wrapper around the...

7.2AI score
SaveExploits0
RustSec
RustSec
•added 2022/11/19 12:00 p.m.•64 views

`aliyun-oss-client` secret exposure

The aliyun-oss-client unintentionally divulges the authentication secret. This bug was fixed in this commit by limiting the concerned traits to be pub only within the crate...

5.6CVSS5.5AI score0.00546EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/04/29 12:00 p.m.•63 views

DNS rebinding vulnerability in rmcp Streamable HTTP server transport

Prior to version 1.4.0, the rmcp crate's Streamable HTTP server transport did not validate the incoming Host header. This allowed a malicious public website, via a DNS rebinding attack, to send requests to an MCP server running on the victim's loopback or private-network interface. An attacker wh...

8.8CVSS6AI score0.00269EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2023/03/24 12:00 p.m.•63 views

`openssl` `SubjectAlternativeName` and `ExtendedKeyUsage::other` allow arbitrary file read

SubjectAlternativeName and ExtendedKeyUsage arguments were parsed using the OpenSSL function X509V3EXTnconf. This function parses all input using an OpenSSL mini-language which can perform arbitrary file reads. Thanks to David Benjamin Google for reporting this issue...

6.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2020/11/12 12:00 p.m.•63 views

Mutable reference with immutable provenance

A mutable reference to a struct was constructed by dereferencing a pointer obtained from slice::asptr. Instead, slice::asmutptr should have been called on the mutable slice argument. The former performs an implicit reborrow as an immutable shared reference which does not allow writing through the...

5.5CVSS2.1AI score0.00389EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2019/06/11 12:00 p.m.•63 views

Compiler optimisation for next_with_timeout in pnet::transport::IcmpTransportChannelIterator flaws to SEGFAULT

Affected versions of this crate were optimized out by compiler, which caused dereference of uninitialized file descriptor which caused segfault...

7.5CVSS2.6AI score0.0099EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/08/01 12:00 p.m.•62 views

Verification cache poisoning allows forged Nostr events to bypass signature validation

The nostr-relay-pool crate cached the result of event signature verification before the check was actually performed. Because the entry was inserted unconditionally, a first delivery whose signature failed was still recorded in the cache. A subsequent delivery of the same event identical ID, but...

5.7AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/06/22 12:00 p.m.•62 views

Remote memory exhaustion in quinn-proto from unbounded out-of-order stream reassembly

The Assembler component that assembles unordered stream fragments into consecutive chunks of the stream incurs some overhead for non-contiguous fragments. Readers that read from a RecvStream in order through an AsyncRead impl for example will be sensitive to peers that send fragments while leavin...

7.5CVSS5.9AI score0.00468EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/04/23 12:00 p.m.•62 views

bare-metal is deprecated

The bare-metal crate has been deprecated and archived. For Mutex and CriticalSection, see the critical-section crate instead...

5.2AI score
SaveExploits0
RustSec
RustSec
•added 2021/12/20 12:00 p.m.•62 views

Integer overflow in the bundled Brotli C library

A buffer overflow exists in the Brotli library versions prior to 1.0.8 where an attacker controlling the input length of a "one-shot" decompression request to a script can trigger a crash, which happens when copying over chunks of data larger than 2 GiB. If one cannot update the C library, its...

3.3AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/06/20 12:00 p.m.•61 views

Unchecked pointer offset in crate `memmap2`

Affected versionf of memmap2 did not perform enough validation on the offset and len parameters of Mmap::uncheckedadviserange, MmapMut::uncheckedadviseranage and MmapMut::flushasyncrange. This can cause undefined behavior due to invalid values being passed to pointer::offset and pointer::add when...

5.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/06/04 12:00 p.m.•61 views

`pqcrypto-falcon` is unmaintained: upstream PQClean project being archived

This crate provides Rust bindings to the Falcon FN-DSA signature scheme via C implementations from PQClean. The PQClean project is being archived in or after July 2026 see PQClean/PQClean604, after which no further security patches or bug fixes will be applied to the upstream implementations. As ...

5.8AI score
SaveExploits0
RustSec
RustSec
•added 2026/05/12 12:00 p.m.•61 views

Potential undefined behavior when calling Remote::list()

When calling Remote::list for a remote of a git repository, when that remote does not advertise any references, git2 passes a null pointer to the unsafe function slice::fromrawparts. Based on the safety section documentation of function, data must be non-null even for slices of length zero. Thus,...

5.3AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/02/05 12:00 p.m.•61 views

Denial of Service via Stack Exhaustion

Impact When user-provided input is provided to any type that parses with the RFC 2822 format, a denial of service attack via stack exhaustion is possible. The attack relies on formally deprecated and rarely-used features that are part of the RFC 2822 format used in a malicious manner. Ordinary,...

6.8CVSS6AI score0.00334EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2020/12/10 12:00 p.m.•61 views

Aovec<T> lacks bound on its Send and Sync traits allowing data races

aovec::Aovec is a vector type that implements Send and Sync for all types T. This allows non-Send types such as Rc and non-Sync types such as Cell to be used across thread boundaries which can trigger undefined behavior and memory corruption...

7CVSS2.7AI score0.00289EPSS
SaveExploits0
RustSec
RustSec
•added 2026/06/21 12:00 p.m.•60 views

Stack overflow in lopdf via deeply nested PDF objects

lopdf::Document::loadmem and the other load entry points parses nested PDF arrays and dictionaries with unbounded recursion. A small crafted PDF whose Catalog contains a deeply nested array /X … , on the order of 10,000 levels exhausts the call stack and aborts the process with SIGABRT. Because...

5.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/05/18 12:00 p.m.•60 views

PAX Header Desynchronization in astral-tokio-tar

Versions of astral-tokio-tar prior to 0.6.2 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected...

5.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/04/23 12:00 p.m.•60 views

Potential use-after-free due to lack of panic safety in `InlineVec::clear` and `SerVec::clear`

InlineVec::clear and SerVec::clear in rkyv were not panic-safe. Both functions iterate over their elements and call dropinplace on each, updating self.len only after the loop. If an element's Drop implementation panics during the loop, self.len is left at its original value. A subsequent invocati...

5.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2025/02/10 12:00 p.m.•60 views

totally-safe introduces memory vulnerabilities in safe Rust

totally-safe provides unsound APIs that exploit a soundness bug in rustc: https://github.com/rust-lang/rust/issues/25860...

7.1AI score
SaveExploits0
RustSec
RustSec
•added 2022/08/03 12:00 p.m.•60 views

`libsqlite3-sys` via C SQLite CVE-2022-35737

It was sometimes possible for SQLite versions = 1.0.12, 3.39.2 to allow an array-bounds overflow when large string were input into SQLite's printf function. As libsqlite3-sys bundles SQLite, it is susceptible to the vulnerability. libsqlite3-sys was updated to bundle the patched version of SQLite...

7.5CVSS7.5AI score0.23575EPSS
SaveExploits2Affected Software1
RustSec
RustSec
•added 2021/11/14 12:00 p.m.•60 views

Converting `NSString` to a String Truncates at Null Bytes

Methods of NSString for conversion to a string may return a partial result. Since they call CStr::fromptr on a pointer to the string buffer, the string is terminated at the first null byte, which might not be the end of the string. In addition to the vulnerable functions listed for this issue, th...

7.5CVSS1.5AI score0.01358EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/02/14 12:00 p.m.•60 views

`nb-connect` invalidly assumes the memory layout of std::net::SocketAddr

The nb-connect 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...

9.8CVSS2.7AI score0.01465EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2026/08/01 12:00 p.m.•59 views

Processing of unverified relay events

The processed events received from a relay through admission-policy and database paths before verifying that the serialized fields matched the claimed event ID and signature. In particular, a database result for the claimed ID could cause verification to be skipped. The verification cache also...

5.5AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/04/13 12:00 p.m.•59 views

`safe-agent-rs` was removed from crates.io for being affiliated with malicious code

While safe-agent-rs did not directly contain malicious code, it was owned by the same user as pretty-changelog-logger and microsoftsystem64. safe-agent-rs also appeared to be imitating a different websocket library. We decided to remove it out of an abundance of caution. This crate had 2 versions...

5.8AI score
SaveExploits0
RustSec
RustSec
•added 2026/03/04 12:00 p.m.•59 views

All-Zero Key Generation on Catastrophic RNG Failure

The libcrux-ed25519 key generation samples Ed25519 secret keys from a provided CSPRNG in a loop for up to 100 attempts until a non-zero key is found. If a non-zero key could not be sampled within 100 attempts the key generation function would silently continue with an all-zero buffer as the secre...

5.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2025/02/10 12:00 p.m.•59 views

totally-safe-transmute allows transmuting any type to any other type in safe Rust

This crate is a toy and should never be used. It showcases a known soundness issue https://github.com/rust-lang/rust/issues/32670 that will never get fixed. In short, Linux provides a file called /proc/self/mem which can be used by a program to modify its own memory. This library modifies an enum...

7AI score
SaveExploits0
RustSec
RustSec
•added 2022/05/03 12:00 p.m.•59 views

Incorrect MAC key used in the RC4-MD5 ciphersuite

The OpenSSL 3.0 implementation of the RC4-MD5 ciphersuite incorrectly uses the AAD data as the MAC key. This makes the MAC key trivially predictable. An attacker could exploit this issue by performing a man-in-the-middle attack to modify data being sent from one endpoint to an OpenSSL 3.0 recipie...

5.9CVSS6.1AI score0.01239EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/02/07 12:00 p.m.•59 views

Failure to verify the public key of a `SignedEnvelope` against the `PeerId` in a `PeerRecord`

Affected versions of this crate did not check that the public key the signature was created with matches the peer ID of the peer record. Any combination was considered valid. This allows an attacker to republish an existing PeerRecord with a different PeerId...

4.1AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/01/31 12:00 p.m.•59 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.01139EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2020/11/08 12:00 p.m.•59 views

Unexpected panic in multihash `from_slice` parsing code

In versions prior 0.11.3 it's possible to make fromslice panic by feeding it certain malformed input. It's never documented that fromslice and frombytes which wraps it can panic, and its' return type Result suggests otherwise. In practice, fromslice/frombytes is frequently used in networking code...

7.8CVSS2.9AI score0.01388EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2020/01/08 12:00 p.m.•59 views

bespoke Cell implementation allows obtaining several mutable references to the same data

The custom implementation of a Cell primitive in the affected versions of this crate does not keep track of mutable references to the underlying data. This allows obtaining several mutable references to the same object which may result in arbitrary memory corruption, most likely use-after-free. T...

5.5CVSS3.5AI score0.00379EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2026/07/13 12:00 p.m.•58 views

`event-listener` allows `!Send` tags to cross thread boundaries via `StackSlot`

Affected versions of event-listener unconditionally implement Send and Sync for StackSlot, the stack-allocated listener type created by the listener! macro. This allows a !Send tag type set via Event::withtag to be moved to another thread and accessed via StackSlot::wait, causing a data race in...

5.4AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/06/29 12:00 p.m.•58 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
Total number of security vulnerabilities1577