speykious/cve-rs

Blazingly 🔥 fast 🚀 memory vulnerabilities, written in 100% safe Rust. 🦀

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 3 minutes ago
Added to GitGenius on September 12th, 2026
Created on February 16th, 2024
Open Issues & Pull Requests: 25 (+0)
GitHub issues: Enabled
Number of forks: 113
Total Stargazers: 5,425 (+0)
Total Subscribers: 26 (+0)

Repository Insights (GitGenius)

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

No overlapping-contributor repos identified yet.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

cve-rs is a Rust library that allows you to introduce common memory vulnerabilities into your program while maintaining memory safety.

The tool addresses the limitation that safe Rust prevents you from writing code that could corrupt memory. cve-rs solves this by implementing memory vulnerabilities—use-after-free, buffer overflow, and segmentation faults—entirely in safe Rust code without any unsafe blocks. It achieves this through safe reimplementations of dangerous operations like transmute and null reference creation, allowing developers to simulate or test vulnerability behavior without actually compromising memory safety.

The project is suitable for developers who need to test how their Rust programs handle memory corruption scenarios, educational purposes, or security research. It supports both standard Rust compilation and WebAssembly through WASI, as well as browser-based WebAssembly execution. The tool's entire codebase uses #![deny(unsafe_code)], meaning there are no unsafe blocks in the implementation itself, which is unusual for a library designed to simulate unsafe behavior.

The project maintains a lighthearted tone throughout its documentation and appears to be a proof-of-concept or educational tool rather than production software, as indicated by its licensing choice and the humorous framing of its capabilities.