Lucene search
K

11 matches found

OSV
OSV
added 2026/02/02 12:0 p.m.2 views

RUSTSEC-2026-0008 Potential undefined behavior when dereferencing Buf struct

if we dereference the Buf struct right after calling new or default on Buf struct, it passes Null Pointer to the unsafe function slice::fromrawparts. Based on the safety section documentation of function, data must be non-null and aligned even for zero-length slices or slices of ZSTs. Thus, passi...

5.5AI score
Exploits0References3
OSV
OSV
added 2025/10/22 4:35 p.m.1 views

GHSA-XCPM-76HF-C9CC Borrowck Scarifices exposes uninitialized memory in any_as_u8_slice

The safe function anyasu8slice can create byte slices that reference uninitialized memory when used with types containing padding bytes. The function uses slice::fromrawparts to create a &u8 covering the entire size of a type, including padding bytes. According to Rust's documentation, fromrawpar...

5.1CVSS7.2AI score
Exploits0References4
OSV
OSV
added 2025/10/21 9:54 p.m.1 views

GHSA-H5J3-CRG5-8JQM orx-pinned-vec has undefined behavior in index_of_ptr with empty slices

The safe function indexofptr causes undefined behavior when called with an empty slice. The issue occurs in the line ptr.addslice.len - 1 which underflows when slice.len is 0, creating a pointer with a massive offset. According to Rust's safety rules, creating such a pointer causes immediate...

5.1CVSS7.2AI score
Exploits0References5
OSV
OSV
added 2025/10/21 12:0 p.m.1 views

RUSTSEC-2025-0105 Uninitialized memory exposure in create_ring_buffer

The safe function createringbuffer allocates a buffer using Vec::withcapacity followed by setlen, creating a Box containing uninitialized memory. This leads to undefined behavior when functions like writeslices create typed slices e.g., &mut bool over the uninitialized memory, violating Rust's...

7AI score
Exploits0References4
RustSec
RustSec
added 2025/10/21 12:0 p.m.1 views

Undefined behavior in index_of_ptr with empty slices

The safe function indexofptr causes undefined behavior when called with an empty slice. The issue occurs in the line ptr.addslice.len - 1 which underflows when slice.len is 0, creating a pointer with a massive offset. According to Rust's safety rules, creating such a pointer causes immediate...

7.2AI score
Exploits0Affected Software1
OSV
OSV
added 2025/10/21 12:0 p.m.1 views

RUSTSEC-2025-0106 Undefined behavior in index_of_ptr with empty slices

The safe function indexofptr causes undefined behavior when called with an empty slice. The issue occurs in the line ptr.addslice.len - 1 which underflows when slice.len is 0, creating a pointer with a massive offset. According to Rust's safety rules, creating such a pointer causes immediate...

7.2AI score
Exploits0References4
RedhatCVE
RedhatCVE
added 2025/05/22 3:20 p.m.4 views

CVE-2020-25016

A safety violation was discovered in the rgb crate before 0.8.20 for Rust, leading to for example dereferencing of arbitrary pointers or disclosure of uninitialized memory. This occurs because structs can be treated as bytes for read and write operations...

9.1CVSS6.9AI score0.00331EPSS
Exploits1
RustSec
RustSec
added 2025/04/25 12:0 p.m.4 views

Possible unsound public API

The public accessible struct SyncVec has a public safe method getunchecked. It accept a parameter index and used in the getunchecked without sufficient checks as mentioned here...

7AI score
Exploits0Affected Software1
RustSec
RustSec
added 2025/01/13 12:0 p.m.2 views

Segmentation fault due to lack of bound check

In this case, the "fastfloat2::common::AsciiStr::first" method within the "AsciiStr" struct uses the unsafe keyword to reading from memory without performing bounds checking. Specifically, it directly dereferences a pointer offset by "self.ptr". Because of the above reason, the method accesses...

7.4AI score
Exploits0Affected Software1
OSV
OSV
added 2021/08/25 8:59 p.m.0 views

GHSA-8Q64-WRFR-Q48C Data races in model

Shared data structure in model crate implements Send and Sync traits regardless of the inner type. This allows safe Rust code to trigger a data race, which is undefined behavior in Rust. Users are advised to treat Shared as an unsafe type. It should not be used outside of the testing context, and...

5.9AI score
Exploits0References3
OSV
OSV
added 2020/08/29 4:15 p.m.1 views

DEBIAN-CVE-2020-25016

A safety violation was discovered in the rgb crate before 0.8.20 for Rust, leading to for example dereferencing of arbitrary pointers or disclosure of uninitialized memory. This occurs because structs can be treated as bytes for read and write operations...

9.1CVSS8.5AI score0.00331EPSS
Exploits1References1
Rows per page
Query Builder