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
CVE-2026-31431-PocC — C implementation of a proof-of-concept for CVE-2026-31431, a Linux kernel AF_ALG page cache poisoning vulnerability that enables local privilege escalation and potential container escape via SUID file pollution. | Kitploit
Tools/GitHubGitHub/fulucky0-yuri/cve-2026-31431-pocc
Privilege EscalationExploit FrameworksVulnerability AnalysisExploitationRed TeamingContainer EscapeBinary Exploitation
GitHubfulucky0-yuri/cve-2026-31431-pocc

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-31431-PocC

C implementation of a proof-of-concept for CVE-2026-31431, a Linux kernel AF_ALG page cache poisoning vulnerability that enables local privilege escalation and potential container escape via SUID file pollution.

View Repository
3 months agoNot yet reviewed

CVE-2026-31431-PoC

CVE-2026-31431 PoC reproduced in C, usable for exploitation when Python is not available on the target environment.

Vulnerability Basic Information

Vulnerability type: Linux kernel AF_ALG subsystem page cache poisoning, achieving local privilege escalation and possible container escape by poisoning SUID file contents.

Affected kernel versions: Linux kernel 5.15 ~ 6.1.x (some lower or higher versions may also be affected, depending on AF_ALG-related compile options).

Exploitation conditions:

The kernel is compiled with CONFIG_CRYPTO_USER_API_AEAD and supports AEAD algorithms (such as authenc(hmac(sha256),cbc(aes))), or the corresponding modules are loaded.

The attacker has a local low-privilege account and can execute arbitrary code (such as uploading a statically compiled ELF).

The target filesystem supports the splice system call.

Usage

You can directly upload the copy_fail file to the target machine and execute it, or you can choose to compile the copy_fail.c file yourself.

Compilation

Static compilation is recommended (to avoid glibc version dependencies): gcc -static -o copy_fail copy_fail.c

Usage

./copy_fail

Disclaimer

This code is rewritten based on the official Python PoC.

This code is intended solely for security research, education, and legally authorized testing. It is strictly prohibited for illegal attacks. Users shall bear all legal responsibilities themselves.

Download Tool