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
copy-fail-CVE-2026-31431 — Proof-of-concept exploit for CVE-2026-31431, a Linux kernel privilege escalation, with x86_64, AArch64, and C payloads to obtain root on affected distributions. | Kitploit
Tools/GitHubGitHub/morton-li/copy-fail-cve-2026-31431
Privilege EscalationVulnerability AnalysisExploitationPayload DevelopmentBinary Exploitation
GitHubmorton-li/copy-fail-cve-2026-31431

copy-fail-CVE-2026-31431

Proof-of-concept exploit for CVE-2026-31431, a Linux kernel privilege escalation, with x86_64, AArch64, and C payloads to obtain root on affected distributions.

Share
View Repository
446 months agoNot yet reviewed

Copy Fail - CVE-2026-31431

Copy Fail (CVE-2026-31431) PoC and payload examples.

  • Technical Writeup: https://xint.io/blog/copy-fail-linux-distributions

Affected Linux Distributions

DistroKernel Version
Ubuntu 24.04 LTS6.17.0-1007-aws
Amazon Linux 20236.18.8-9.213.amzn2023
RHEL 10.16.12.0-124.45.1.el10_1
SUSE 166.12.0-160000.9-default

Quick Usage

Run copy_fail_exp.py on an affected Linux distribution to obtain root privileges.

Payload Compilation Guide

The following steps are used to regenerate the payload files locally for debugging and verification.

1) x86_64 Assembly Version (payloads/x86_64.asm)

Install dependencies:

apt install -y nasm

Compile:

nasm -f bin x86_64.asm -o payload.bin

Inspect the output:

wc -c payload.bin
xxd payload.bin

2) AArch64 Assembly Version (payloads/aarch64.s)

Install dependencies:

apt install -y binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu

Compile:

aarch64-linux-gnu-as aarch64.s -o aarch64.o
aarch64-linux-gnu-objcopy -O binary -j .text aarch64.o aarch64.bin

Inspect the output:

wc -c payload.bin
file payload.bin
xxd payload.bin

3) Cross-Platform C Version (payloads/payload.c)

Compile:

gcc -Os -s payload.c -o payload.bin

Inspect the output:

wc -c payload.bin
file payload.bin
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    795
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    520
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    439
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    346
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    267
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    264

Explore all tools

Browse our collection of tools

View all tools →