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
Copy-fail-CVE-2026-31431-Exploit-in-C — C exploit for CVE-2026-31431, a Linux kernel page-cache corruption vulnerability in the AF_ALG AEAD path, using splice() to influence cached file contents. | Kitploit
Tools/GitHubGitHub/mr-bv/copy-fail-cve-2026-31431-exploit-in-c
Exploit FrameworksVulnerability AnalysisExploitationBinary Exploitation
GitHubmr-bv/copy-fail-cve-2026-31431-exploit-in-c

Copy-fail-CVE-2026-31431-Exploit-in-C

C exploit for CVE-2026-31431, a Linux kernel page-cache corruption vulnerability in the AF_ALG AEAD path, using splice() to influence cached file contents.

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

Copy-fail-CVE-2026-31431-Exploit-in-C

Discovery and original disclosure of CVE-2026-31431: Theori / Xint. Public writeup: https://copy.fail/.

Overview

This program targets the Linux kernel’s AF_ALG AEAD path and attempts to trigger the “Copy Fail” page-cache corruption behavior described in public advisories. The code opens a chosen file, repeatedly processes 4-byte windows of an embedded payload, and uses kernel crypto plumbing plus splice() to influence the cached file contents in memory. After the loop finishes, it executes the target binary, relying on whatever state the page cache was left in.

Prerequisites

  • Linux environment
  • GCC or Clang

BUILD

gcc -static -o Copy-fail-CVE-2026-31431-Exploit-in-C Copy-fail-CVE-2026-31431.c -D_GNU_SOURCE

Usage

./Copy-fail-CVE-2026-31431-Exploit-in-C

Download Tool