{"id":"RUSTSEC-2025-0028","aliases":["RUSTSEC-2025-0028"],"related":[],"kind":"vulnerability","state":"published","title":"cve-rs introduces memory vulnerabilities in safe Rust","summary":"This crate is a joke and should never be used.\n\n`cve-rs` provides demonstrations of common memory vulnerabilities (such as buffer overflows and segfaults) implemented completely within safe Rust.\n\nInternally, this crate does not use unsafe code, it instead exploits a soundness bug in rustc: https://github.com/rust-lang/rust/issues/25860","summaryFormat":"markdown","summarySource":"rustsec","descriptions":[{"lang":"en","text":"This crate is a joke and should never be used.\n\n`cve-rs` provides demonstrations of common memory vulnerabilities (such as buffer overflows and segfaults) implemented completely within safe Rust.\n\nInternally, this crate does not use unsafe code, it instead exploits a soundness bug in rustc: https://github.com/rust-lang/rust/issues/25860","format":"markdown","source":"rustsec"}],"published":"2025-02-10T12:00:00.000Z","modified":"2025-05-06T21:08:48.000Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"cve-rs","purl":"pkg:cargo/cve-rs","source":"rustsec"}],"references":[{"url":"https://crates.io/crates/cve-rs","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0028.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/Speykious/cve-rs","tags":["web"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2025-0028","url":"https://rustsec.org/advisories/RUSTSEC-2025-0028.html","licence":"CC0-1.0","modified":"2025-05-06T21:08:48.000Z"}],"updatedAt":"2026-11-25T22:56:43.253Z"}