Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 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
85 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

.
├── src/    # C source
├── dist/   # built binary artifacts

Build

make

The resulting binary is ./dist/copyfail.

Run

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

./dist/copyfail "$(which su)"

<input_path> is opened read-only and used as the splice() source on each iteration, always starting from file offset 0. A common choice is a readable SUID-root ELF such as /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.
Download Tool