Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-31431-rs — Rust-based proof-of-concept for CVE-2026-31431, exploiting AF_ALG and splice to overwrite /bin/su and spawn a root shell. Self-contained no_std binaries for x86_64 and aarch64. | Kitploit
Tools/GitHubGitHub/xerxes-2/cve-2026-31431-rs
Privilege EscalationExploit FrameworksVulnerability AnalysisExploitationPayload DevelopmentBinary Exploitation
GitHubxerxes-2/cve-2026-31431-rs

CVE-2026-31431-rs

Rust-based proof-of-concept for CVE-2026-31431, exploiting AF_ALG and splice to overwrite /bin/su and spawn a root shell. Self-contained no_std binaries for x86_64 and aarch64.

View Repository
413 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-31431 PoC (copyfail)

Structure

root@kitploit:~
src/
├── main.rs          # Exploit: AF_ALG + splice to overwrite /bin/su
└── bin/
    └── payload.rs   # Payload

Self-contained no_std binaries with zero runtime dependencies:

  • poc-rs: 4.1 KB (payload embedded via include_bytes!)
  • payload: 1.7 KB

Build

Requires Rust 1.85+:

root@kitploit:~
cargo build --release --bin payload
cargo build --release

Usage

  • x86_64:
root@kitploit:~
./target/x86_64-unknown-none/release/poc-rs
  • aarch64:
root@kitploit:~
./target/aarch64-unknown-none/release/poc-rs

On success, executes the overwritten /bin/su which spawns a root shell and executes id.

Disclaimer

[!CAUTION] For authorized security research and testing only.

Download Tool