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 — Script Python pour verifier si un systeme Linux est vulnerable a la faille CVE-2026-31431 (Copy Fail), une elevation de privileges locale dans le noyau Linux. | Kitploit
Tools/GitHubGitHub/mrmixies/copy-fail---cve-2026-31431
Privilege EscalationVulnerability ScannersVulnerability AnalysisExploitationPenetration Testing
GitHubmrmixies/copy-fail---cve-2026-31431

Copy-Fail---CVE-2026-31431

Script Python pour verifier si un systeme Linux est vulnerable a la faille CVE-2026-31431 (Copy Fail), une elevation de privileges locale dans le noyau Linux.

Share
View Repository
236 months agoNot yet reviewed

CVE-2026-31431 - Copy Fail - Detection Script

Python script to check whether a Linux system is vulnerable to the CVE-2026-31431 (Copy Fail) flaw, a local privilege escalation in the Linux kernel.

The flaw in brief

Since 2017 (commit 72548b093ee3), the kernel's algif_aead cryptographic module has handled in-place operations incorrectly. Via splice(), an unprivileged user can corrupt the page cache of a setuid binary and obtain root privileges without touching the disk.

  • CVSS: 7.8 (High)
  • Affected versions: Linux kernel 4.13 to 6.18.21 / 6.19.11
  • Fixed versions: 6.18.22+, 6.19.12+, 7.0+

What the script checks

#Check
1Kernel version (vulnerable range)
2algif_aead module loaded or loadable
3AF_ALG SOCK_SEQPACKET socket accessible without privileges
4os.splice() available (direct Python exploit)
5Setuid binaries readable by all (sudo, passwd...)
6Active protections (SELinux, AppArmor, modprobe blacklist)

Usage

python3 check_cve_2026_31431.py

No external dependencies. Works without root.

Detection only

This script only analyzes the system. It does not exploit the flaw, does not load any module, and writes nothing to disk.

Workaround (if no update is possible)

echo 'install algif_aead /bin/false' | sudo tee /etc/modprobe.d/algif_aead-block.conf

This workaround does not work on RHEL distributions (module built into the kernel).

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.

    851
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    420
  • 4

    redforge

    cybersecurity91/redforge

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

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

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

    280

Explore all tools

Browse our collection of tools

View all tools →