Skip to main content
Menu
Advisories

cve-rs introduces memory vulnerabilities in safe Rust

RUSTSEC-2025-0028Published Updated RustSec

Description

This crate is a joke and should never be used.

cve-rs provides demonstrations of common memory vulnerabilities (such as buffer overflows and segfaults) implemented completely within safe Rust.

Internally, this crate does not use unsafe code, it instead exploits a soundness bug in rustc: github.com/rust-lang/rust/issues/25860

Affected versions

References

crates.io

rustsec.org

GitHub · Speykious/cve-rs