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
copyfail-c — C implementation for researching Copy Fail (CVE-2026-31431) | Kitploit
Tools/GitHubGitHub/luoqianlin/copyfail-c
Vulnerability AnalysisExploitationBinary Exploitation
GitHubluoqianlin/copyfail-c

copyfail-c

C implementation for researching Copy Fail (CVE-2026-31431)

View Repository
3 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

copyfail-c

A minimal C reproduction for researching Copy Fail (CVE-2026-31431).

This repository contains a compact C implementation built around the Linux kernel AF_ALG interface for vulnerability research, behavior analysis, and controlled reproduction.

Repository layout

root@kitploit:~
.
├── src/    # C source
├── dist/   # built binary artifacts

Build

root@kitploit:~
make

The resulting binary is ./dist/copyfail.

Run

The program requires one input file path argument. For example:

root@kitploit:~
./dist/copyfail "$(which su)"

<input_path> is opened read-only and used as the splice() source on each iteration, always starting from file offset . A common choice is a readable SUID-root ELF such as .

Download Tool
0
/usr/bin/su

Scope

  • This code is intended for authorized research and reproducible testing only.
  • Run it only in environments you own or are explicitly permitted to assess.
  • The implementation is intentionally small to make review and experiment setup easier.