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
Tools/GitHubGitHub/crihexe/copy-fail-tiny-elf-cve-2026-31431
Exploit FrameworksVulnerability AnalysisExploitationBinary Exploitation
GitHubcrihexe/copy-fail-tiny-elf-cve-2026-31431

copy-fail-tiny-elf-CVE-2026-31431

Minimal no-libc Linux x86_64 ELF PoC build for Copy Fail (CVE-2026-31431)

View Repository
Website
6410456 months agoReviewed by Kitploit
Share

Copy Fail Tiny ELF - CVE-2026-31431

Minimal 436-bytes exploit for Copy Fail, thanks to the power of golfing

Magic

This ELF ultra golfs the exploit by being totally unmapped, rwx, and by using itself conditionally as the ELF payload to use to poison the cache. More cursed ELF internals golfs coming soon

Have a better idea? Compete at https://copy.golf/

=== BEGIN SLOPPED PORTION ===

References

  • Technical writeup: https://copy.fail/
  • Upstream PoC repository: https://github.com/theori-io/copy-fail-CVE-2026-31431
  • NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2026-31431

Requirements

  • Linux x86_64
  • gcc
  • ld
  • strip

On Debian/Ubuntu:

sudo apt install build-essential binutils

Nix Environment

The repository includes a pinned shell.nix and .envrc.

With nix-shell:

nix-shell

With direnv:

direnv allow

This provides the reproducible toolchain used here:

gcc 15.2.1
GNU ld / strip from llvmPackages_19.bintools
python3

Build

make

If you are using Nix or direnv, make will use the toolchain from the shell automatically.

Quick VM Test

You can also try the exploit inside a quick Ubuntu Server 24.04 LTS VM

cd test-vm
./quick-test.sh

Check size

make size

Clean

make clean

Tested toolchain

gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04.1)
GNU ld (GNU Binutils for Ubuntu) 2.42
GNU strip (GNU Binutils for Ubuntu) 2.42

Reproducible smaller build:

gcc 15.2.1
GNU ld 2.46
GNU strip with --strip-section-headers

Final size varies with GCC, binutils, and the strip implementation.

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.

    837
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    536
  • 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.

    424
  • 4

    redforge

    cybersecurity91/redforge

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

    355
  • 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.

    294
  • 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.

    276

Explore all tools

Browse our collection of tools

View all tools →