crypto: algif_aead - Revert to operating out-of-place
Title source: cnaExploitation Summary
CVE-2026-31431 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added May 1, 2026.
EIP tracks 363 public exploits from researchers including Sndav, 0xShe, wgnet, including a Metasploit module exploits/linux/local/cve_2026_31431_copy_fail.
AI-analyzed exploit summary This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the AF_ALG AEAD interface that allows unprivileged users to write arbitrary data to the page cache of readable files, bypassing file permissions and integrity checks. The exploit demonstrates local privilege escalation by modifying /etc/passwd to remove the root password.
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: algif_aead - Revert to operating out-of-place This mostly reverts commit 72548b093ee3 except for the copying of the associated data. There is no benefit in operating in-place in algif_aead since the source and destination come from different mappings. Get rid of all the complexity added for in-place operation and just copy the AD directly.
Exploits (363)
This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the AF_ALG AEAD interface that allows unprivileged users to write arbitrary data to the page cache of readable files, bypassing file permissions and integrity checks. The exploit demonstrates local privilege escalation by modifying /etc/passwd to remove the root password.
This repository contains a functional C-based exploit for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the AF_ALG interface. The exploit manipulates kernel memory via splice system calls to overwrite /bin/su with a malicious payload, granting root access.
This repository provides two eBPF programs to mitigate CVE-2026-31431, a local privilege escalation vulnerability involving AF_ALG socket creation. The programs either filter or kill processes attempting to exploit the vulnerability, depending on kernel support for eBPF LSM.
This repository contains a Go implementation of CVE-2026-31431, a Linux local privilege escalation (LPE) exploit targeting a vulnerability in the AF_ALG cryptographic socket interface. The exploit leverages a logic flaw to overwrite page cache contents, allowing arbitrary file modification and privilege escalation.
This repository contains a functional exploit for CVE-2026-31431, leveraging an AF_ALG aead vulnerability to achieve cross-container escape by injecting a persistent hook into the page-cache of libc.so.6, allowing command execution in sibling containers sharing the same image layer.
This repository provides a detection toolkit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability. It includes tools for checking vulnerability exposure, detecting exploitation via auditd, eBPF, and page-cache comparison, and mitigating the risk.
This repository contains a Go-based proof-of-concept exploit for CVE-2026-31431, targeting a Linux kernel vulnerability via the AF_ALG interface and splice(2) system calls. The PoC is designed to trigger the vulnerability and includes embedded payloads for different architectures (amd64, arm64, 386).
This repository provides a mitigation suite for CVE-2026-31431, focusing on the Linux AF_ALG subsystem. It includes tools for runtime observability, configuration hardening, and kernel state auditing, but does not contain exploit code.
This repository contains a functional exploit for CVE-2026-31431, a container escape vulnerability leveraging runC. The exploit uses AF_ALG socket operations to manipulate memory and achieve privilege escalation, allowing execution of arbitrary commands (e.g., 'su') outside the container.
This repository contains a functional exploit PoC for CVE-2026-31431 (CopyFail), which allows unprivileged users to mutate files in the Linux page cache. It includes multiple exploit vectors (su, passwd, pam) and detection tools to identify tampering.
This repository provides a detailed technical analysis and mitigation strategies for CVE-2026-31431, a local privilege escalation vulnerability in the AF_ALG `authencesn` page-cache primitive. It includes a defense-in-depth approach with an LD_PRELOAD shim and a host auditor, but does not contain functional exploit code.
This repository contains a BPF-LSM mitigation for CVE-2026-31431, a privilege escalation vulnerability in the Linux kernel crypto API (AF_ALG). The PoC blocks AF_ALG socket creation via a BPF program attached to the socket_create hook, preventing exploitation of the vulnerability.
This repository contains a functional exploit for CVE-2026-31431, demonstrating a cache poisoning vulnerability in the Linux kernel's AF_ALG socket interface. The exploit patches arbitrary files by manipulating the kernel's crypto API through crafted socket operations.
The exploit leverages a Linux kernel vulnerability (CVE-2026-31431) to achieve local privilege escalation by manipulating socket options and splicing file descriptors. It overwrites the `/usr/bin/su` binary with a malicious payload, then executes it to gain root access.
The repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability. The exploit leverages a logic flaw in the `splice()` function combined with the `authencesn` AEAD implementation to achieve arbitrary write access to read-only file page caches, leading to privilege escalation.
This repository contains multiple functional exploit implementations (Python, C, Perl, assembly) for CVE-2026-31431, a Linux local privilege escalation vulnerability involving improper handling of file copies in the kernel's splice mechanism. The exploits demonstrate a memory corruption primitive to overwrite target binaries with attacker-controlled code.
The repository contains a Go-based tool ('vcheck') designed to audit remote Linux hosts over SSH for specific kernel-module vulnerabilities (CVE-2026-31431, CVE-2026-43284, CVE-2026-43500). It checks for loaded modules, kernel logs, and blacklist status, and can optionally apply mitigations by blacklisting vulnerable modules.
This repository contains a functional local privilege escalation exploit for CVE-2026-31431, leveraging AF_ALG + splice() + authencesn to corrupt the page cache of a setuid binary (e.g., /usr/bin/su) and inject a malicious ELF payload. The exploit includes both Python and C implementations, along with detection and mitigation scripts.
This repository contains an Ansible playbook designed to mitigate CVE-2026-31431 (CopyFail) and CVE-2026-43284 (DirtyFrag) by unloading and disabling vulnerable kernel modules (algif_aead, esp4, esp6, rxrpc). It includes checks for loaded modules and persists mitigation via modprobe configuration.
This repository contains a functional exploit for CVE-2026-31431, a local privilege escalation vulnerability in Linux kernels 4.11 to 6.17.x. The exploit leverages a flaw in the AF_ALG socket interface's handling of scatter-gather lists during AEAD decryption to overwrite arbitrary readable file page cache, enabling privilege escalation by modifying setuid binaries.
This repository provides a defensive toolkit for assessing and mitigating exposure to CVE-2026-31431, a Linux kernel vulnerability in the `algif_aead` / `AF_ALG` component. It includes scripts for exposure assessment, mitigation via modprobe blocking, and seccomp profile generation, but does not contain an actual exploit.
This repository provides a detailed technical analysis of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's cryptographic subsystem (algif_aead). The writeup includes root cause analysis, exploitation steps, affected versions, and mitigation strategies.
This repository provides a bash script to detect the presence and vulnerability status of the `algif_aead` local root vulnerability (CVE-2026-31431) in Linux systems. It checks kernel configuration, module state, AF_ALG socket reachability, and applied mitigations without executing exploit code.
This repository contains a functional Rust-based exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` module. The exploit leverages a logic flaw to overwrite page cache contents of setuid binaries, granting root access. It also includes a defensive eBPF-based tool to block the exploit.
This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the AF_ALG crypto subsystem that allows a 4-byte arbitrary write in the page cache, leading to local privilege escalation (LPE). The exploit dynamically calculates ELF entry point offsets to overwrite SUID binaries with shellcode, making it universally applicable across different kernel and binary versions.
The repository claims to be an exploit for CVE-2026-31431 but lacks actual exploit code, instead promoting external downloads and additional features like payload encryption and multi-architecture support without technical details.
This repository contains a functional Rust-based exploit for CVE-2026-31431, a Linux kernel vulnerability in AF_ALG and splice() that allows local privilege escalation via arbitrary page cache writes. The exploit includes shellcode execution capabilities and supports custom payloads like Meterpreter.
This repository contains functional exploit code for CVE-2026-31431, a Linux local privilege escalation (LPE) vulnerability. The exploit leverages an AF_ALG/splice page-cache overwrite primitive to modify runtime views of privileged files (e.g., `su`, PAM configurations) to gain root access. The code includes multiple modes for patching, reverting, and helper binary creation.
The exploit leverages a Linux kernel vulnerability (CVE-2026-31431) to achieve local privilege escalation by manipulating socket options and splicing file descriptors. The PoC overwrites the `/usr/bin/su` binary with a malicious payload, then executes it to gain root access.
This repository contains a defensive bash script that checks for the presence and loadability of the algif_aead kernel module, which is associated with CVE-2026-31431 (Copy Fail). It does not exploit the vulnerability but scans for potential exposure.
This repository contains a functional bash script that exploits CVE-2026-31431, a Linux kernel vulnerability in the AF_ALG AEAD socket interface. The exploit allows local privilege escalation by corrupting the page cache of setuid binaries via a deterministic 4-byte write, leading to root access.
This repository provides a mitigation script and detailed documentation for CVE-2026-31431, a Linux kernel vulnerability in the `algif_aead` module that allows local privilege escalation. The script disables the vulnerable module, updates the kernel, and optionally sets up automated updates.
The repository contains a functional Python exploit for CVE-2026-31431, a Linux kernel vulnerability in the `authencesn` AEAD template that allows local privilege escalation by corrupting `/usr/bin/su` in memory via a 4-byte out-of-bounds write.
This repository contains a functional BPF LSM program that blocks AF_ALG socket creation and logs attempts via a ring buffer to userspace, addressing CVE-2026-31431. The exploit includes both kernel-space BPF code and a userspace daemon for logging.
This repository contains a read-only detection script for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's algif_aead module. The script checks kernel versions, module status, and distro-specific patches without executing any exploit code.
This repository contains a detection script for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the algif_aead module. The script checks kernel versions, module status, and distribution-specific patches without exploiting the vulnerability.
The repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` cryptographic subsystem. The exploit leverages a 4-byte write primitive into the page cache to patch setuid binaries like `/usr/bin/su` and achieve root access.
This repository is a scaffold for a kernel security framework targeting multiple CVEs, including CVE-2026-31431, but lacks functional exploit code. The files are placeholders with minimal implementation, as indicated by 'scaffold' status and TODO comments.
This repository provides a detailed technical analysis of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's AF_ALG subsystem, specifically the algif_aead module. It includes root cause analysis, affected versions, exploitation details, and mitigation strategies.
This repository contains a Python CLI tool designed to detect and mitigate CVE-2026-31431, a privilege escalation vulnerability in the Linux kernel's `algif_aead` module. It does not include exploit code but provides detection and temporary mitigation capabilities.
This repository contains a functional proof-of-concept exploit for CVE-2026-31431, a Linux kernel vulnerability involving faulty in-place handling in the `algif_aead` path. The exploit leverages `AF_ALG`, `splice()`, and file-backed pages to corrupt the page cache, leading to privilege escalation.
This Python script exploits a socket-based vulnerability (CVE-2026-31431) to achieve local privilege escalation by manipulating socket options and file descriptors. It binds to a socket with unusual parameters, sends crafted messages, and attempts to execute '/bin/su' with elevated privileges.
The repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` cryptographic subsystem. The exploit leverages a 4-byte write primitive into the page cache to patch a setuid binary and escalate privileges to root.
This repository provides a detailed technical analysis of CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the AF_ALG socket interface. It explains the memory corruption mechanism, attack flow, and defensive measures but does not include functional exploit code.
This repository contains functional exploit code for CVE-2026-31431, a local privilege escalation (LPE) vulnerability in the Linux kernel's cryptographic subsystem (algif_aead). The exploit leverages a bug in the page cache handling to overwrite 4 bytes in any readable file, allowing privilege escalation to root.
This repository contains a functional exploit for CVE-2026-31431, demonstrating a local privilege escalation (LPE) vulnerability. The exploit includes binaries for verification and execution, along with detailed steps for usage and mitigation.
The repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability that allows local privilege escalation by manipulating the page cache of files. The exploit leverages the `AF_ALG` interface and `splice()` to inject data into the page cache of a target file, enabling execution of modified content in memory.
The repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the `algif_aead` component that allows local privilege escalation via page-cache corruption. The exploit targets `/usr/bin/su` to gain root access.
This repository contains a functional Python exploit for CVE-2026-31431, a Linux kernel vulnerability in AF_ALG/algif_aead that allows page-cache corruption. The toolkit includes detection, mitigation verification, and weaponization paths for privilege escalation (setuid binary patching and /etc/passwd UID manipulation).
This repository contains a functional Python exploit for CVE-2026-31431, which leverages an AF_ALG kernel vulnerability to patch the 'su' binary in memory and escalate privileges. The exploit uses crafted socket operations and splice calls to modify executable memory.
This repository contains a Go-based PoC for CVE-2026-31431, a Linux kernel logic flaw in `authencesn` that enables a deterministic 4-byte write into page cache data via `AF_ALG` + `splice()`. The PoC is functional and includes build automation for multiple architectures.
This repository provides a detailed technical analysis and Ansible-based mitigation playbooks for CVE-2026-31431, a Linux kernel vulnerability in the `algif_aead` module. It includes audit and mitigation steps but does not contain functional exploit code.
This repository contains a functional exploit for CVE-2026-31431, adapted to work within a constrained Java environment. It leverages the AF_ALG socket interface to perform a page cache overwrite, achieving local privilege escalation (LPE) via a Java-based syscall layer and annotation processor trick.
This repository contains a functional local privilege escalation exploit for CVE-2026-31431, targeting a logic bug in the Linux kernel's `authencesn` cryptographic template. The exploit allows an unprivileged local user to perform a controlled 4-byte write into the page cache of any readable file, leading to full root compromise.
This repository contains a Go-based scanner for CVE-2026-31431, designed to detect vulnerability status across multiple Linux distributions. It checks kernel versions, module states, and changelogs without exploiting the vulnerability.
This repository provides a mitigation for CVE-2026-31431 using eBPF (block_alg.bpf.c) and a userspace component (block_alg.c). It includes a Makefile for compilation and a GPLv2 license, but no exploit code or detailed vulnerability analysis.
This repository contains a functional Rust-based exploit for CVE-2026-31431, leveraging a race condition between AF_ALG sockets and splice syscalls to corrupt page cache and overwrite SUID binaries like /bin/su for local privilege escalation.
This repository provides a mitigation script for CVE-2026-31431, a Linux kernel vulnerability in the cryptographic subsystem (algif_aead module). It includes technical details on the vulnerability and scripts to block the vulnerable module.
This repository contains a functional proof-of-concept exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's AF_ALG cryptographic interface. The exploit leverages incorrect page cache handling during AEAD decryption to overwrite in-memory file content, granting an unprivileged user root access.
This repository contains a functional Rust implementation of the Copy Fail exploit (CVE-2026-31431), which chains AF_ALG and splice() syscalls to achieve a 4-byte page cache write, leading to local privilege escalation on vulnerable Linux kernels.
This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the AF_ALG crypto subsystem. The exploit uses socket operations, splice(), and memory corruption to escalate privileges to root by injecting shellcode into the /usr/bin/su binary.
The exploit leverages a Linux kernel vulnerability (CVE-2026-31431) to achieve local privilege escalation by manipulating socket options and splicing file descriptors to overwrite the `/usr/bin/su` binary with a malicious payload. The payload is embedded as a compressed hex string and decompressed at runtime.
This repository contains a functional Go-based exploit for CVE-2026-31431, which leverages a memory corruption vulnerability in the Linux kernel's AF_ALG socket implementation to overwrite the `/usr/bin/su` binary with malicious shellcode, achieving local privilege escalation (LPE). The exploit demonstrates a reliable method to gain root access by corrupting page cache contents via crafted socket operations.
This repository provides a detailed technical analysis and mitigation script for CVE-2026-31431, a local privilege escalation vulnerability in the Linux Kernel affecting versions 4.10 to 6.18.x. The script includes blacklisting vulnerable kernel modules, flushing the Page Cache, and updating the kernel to a patched version.
This repository provides a detailed technical analysis and mitigation strategy for CVE-2026-31431, a Linux kernel vulnerability in the cryptographic API subsystem (AF_ALG) that allows local privilege escalation. It includes a DaemonSet for Yandex Managed Kubernetes to automatically block the vulnerable module.
This repository contains a functional exploit for CVE-2026-31431, leveraging a Linux kernel vulnerability in the AF_ALG socket interface. The exploit uses crafted messages and splice operations to achieve local privilege escalation (LPE) by manipulating kernel memory.
This repository contains a functional exploit for CVE-2026-31431, leveraging a vulnerability in the Linux kernel's AF_ALG socket implementation to achieve local privilege escalation (LPE). The exploit uses crafted messages and splice operations to trigger the vulnerability, ultimately executing `/usr/bin/su` to gain root access.
This repository contains a Go-based proof-of-concept exploit for CVE-2026-31431, targeting a Linux kernel vulnerability via the AF_ALG interface and splice(2) system calls. It includes static binaries for multiple architectures and embeds payloads for each target.
The repository contains a functional Python exploit for CVE-2026-31431, which appears to leverage a socket-based vulnerability to achieve local privilege escalation (LPE) by manipulating file descriptors and socket options. The exploit decompresses and writes a payload to `/usr/bin/su`, suggesting an attempt to overwrite or modify system binaries for privilege escalation.
This repository contains a cross-platform C exploit for CVE-2026-31431, with build workflows for multiple architectures using both glibc and musl. The exploit is statically linked and includes payload handling, indicating a functional proof-of-concept.
The repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability. The exploit leverages a flaw in the `splice()` function combined with the `authencesn` AEAD implementation to achieve root access by manipulating page cache references.
The repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability. The exploit leverages a flaw in the `splice()` function combined with the `authencesn` cryptographic module to achieve root access by manipulating page cache references.
This repository contains a functional exploit for CVE-2026-31431, leveraging an AF_ALG + splice() page-cache-mutation vulnerability to achieve local privilege escalation (LPE). The exploit overwrites the page cache of either /usr/bin/su or /etc/passwd to gain root privileges.
This repository contains a functional exploit for CVE-2026-31431, leveraging an AF_ALG + splice() page-cache mutation vulnerability to achieve local privilege escalation (LPE). The exploit overwrites the page cache of /usr/bin/su with a malicious payload, which is then executed with root privileges.
This exploit leverages a splice-based vulnerability (CVE-2026-31431) to overwrite the `/usr/bin/su` binary with malicious shellcode, achieving local privilege escalation. The code uses low-level socket operations and splice syscalls to manipulate file descriptors and inject payloads.
This repository contains a functional exploit for CVE-2026-31431, leveraging AF_ALG socket operations and splice syscalls to trigger memory corruption, enabling local privilege escalation or container escape by patching /usr/bin/su in the page-cache.
This repository contains functional exploit code for CVE-2026-31431, demonstrating a Linux kernel vulnerability in the AF_ALG socket implementation that allows arbitrary page cache manipulation. The exploit uses splice operations to mark pages as dirty and then modifies file content in memory without disk changes.
This repository contains a functional exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's AF_ALG socket interface. The exploit leverages a copy-on-write/length confusion bug to corrupt memory and overwrite the /usr/bin/su binary, achieving root privileges.
This repository contains detection tools for CVE-2026-31431, a Linux kernel LPE vulnerability involving AF_ALG sockets and page cache corruption. It includes scripts to check for vulnerability indicators, monitor system calls via eBPF, and compare page cache vs. disk content.
The repository contains a functional Python exploit for CVE-2026-31431, leveraging AF_ALG socket manipulation to patch the `su` binary in memory and achieve local privilege escalation. The exploit uses crafted `setsockopt` and `sendmsg` calls to overwrite memory regions of the `su` binary, followed by execution to gain a root shell.
The repository contains functional exploit code for CVE-2026-31431, demonstrating a local privilege escalation (LPE) vulnerability. The exploit leverages socket manipulation and memory corruption to overwrite the `/usr/bin/su` binary, enabling root access.
This repository contains a functional Go implementation of CVE-2026-31431, a Linux local privilege escalation (LPE) exploit. It leverages a vulnerability in the AF_ALG cryptographic socket interface to overwrite the page cache of the 'su' binary, replacing it with a malicious payload that grants root access.
This repository contains a functional exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's AF_ALG AEAD socket interface. The exploit corrupts the page cache of setuid-root binaries via a deterministic 4-byte write primitive, allowing an attacker to overwrite the binary with shellcode and gain root access.
This repository contains a Python-based scanner that checks for the presence of CVE-2026-31431, a Linux kernel vulnerability related to the algif_aead module. It verifies kernel versions, module configurations, and system protections but does not include exploit code.
This repository contains a Python-based scanner that checks for the presence of CVE-2026-31431, a Linux kernel vulnerability related to the algif_aead module. It performs checks on kernel version, AF_ALG module status, and system protections like KPTI, SELinux, and AppArmor.
This is a functional Python PoC for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability exploiting AF_ALG and splice() to corrupt the page cache of a readable file (e.g., /usr/bin/su). The exploit uses ctypes for splice() compatibility and achieves root shell access.
The repository contains a functional Python exploit for CVE-2026-31431, a Linux kernel privilege escalation vulnerability. The exploit leverages a socket-based attack to achieve local privilege escalation by manipulating kernel memory structures.
This is a functional local privilege escalation (LPE) exploit for CVE-2026-31431, targeting a kernel vulnerability to patch /etc/passwd and allow passwordless root access via 'su'. It uses socket manipulation and splice operations to overwrite the root entry in /etc/passwd, bypassing password checks.
This repository contains a functional local privilege escalation (LPE) exploit for CVE-2026-31431, leveraging a vulnerability in the Linux Kernel's Cryptographic API (AF_ALG) combined with the splice() system call to corrupt the page cache of /etc/passwd, allowing an unprivileged user to gain root access.
The repository contains a functional Python-based local privilege escalation (LPE) exploit for CVE-2026-31431, leveraging socket manipulation and splice operations to escalate privileges via the `/usr/bin/su` binary.
This repository contains a Go-based tool that mitigates CVE-2026-43500 and CVE-2026-43284 by disabling vulnerable kernel modules (esp4, esp6, rxrpc) and applying kernel updates. It includes functionality to detect vulnerable configurations, apply hotfixes, and clean up artifacts post-update.
This repository contains a functional exploit for CVE-2026-31431, leveraging a Linux AF_ALG vulnerability to overwrite the page cache of `/usr/bin/su` with a malicious payload, achieving local privilege escalation to root. The exploit includes both a vulnerability checker and a full exploit binary.
This repository contains a functional local privilege escalation exploit for CVE-2026-46333, leveraging a race condition in the Linux kernel's `pidfd_getfd` system call to steal file descriptors from the `accounts-daemon` process. The exploit then uses D-Bus calls to escalate privileges by modifying the user's shell, account type, and password.
This repository contains a minimal 436-byte ELF exploit for CVE-2026-31431, leveraging ELF internals to achieve a compact payload. It includes a Makefile for building the exploit, a Python script for patching the binary, and a test VM setup for safe execution.
This repository contains a shell-based scanner for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's cryptographic subsystem. The script checks for vulnerable conditions but does not execute exploit code.
This repository provides an Ansible playbook for remediating CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` implementation. It includes detailed documentation on the remediation process, verification steps, and execution instructions, but does not contain functional exploit code.
This repository contains a Go-based mitigation tool for CVE-2026-31431, which disables vulnerable kernel modules (e.g., algif_aead) and applies system-level mitigations such as modprobe blocking and GRUB configuration updates. It includes build scripts and CI/CD workflows for automated compilation and release.
This is a functional local privilege escalation (LPE) exploit for CVE-2026-31431, leveraging a 4-byte page-cache write primitive to corrupt the UID field in /etc/passwd, tricking PAM into granting root access via `su`.
This repository provides a detailed technical analysis of CVE-2026-31431, including a breakdown of the Python exploit, validation steps, and a deep dive into the embedded ELF payload. It focuses on translating the exploit into x86-64 assembly and includes disassembly and reverse engineering insights.
The repository contains a functional Python exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's cryptographic subsystem. The exploit leverages a flaw in the AF_ALG socket interface combined with splice() to corrupt the page cache of setuid executables, granting root access.
This repository contains a functional Metasploit module that exploits CVE-2026-31431, a logic flaw in the Linux kernel's AF_ALG crypto interface, to achieve local privilege escalation by corrupting the Page Cache of a setuid binary.
This repository contains a detailed technical analysis of CVE-2026-31431, a logical bug in the Linux kernel's cryptographic template that allows local privilege escalation via page cache corruption. The writeup includes objectives, theoretical background, and references but lacks actual exploit code.
This repository contains a functional exploit for CVE-2026-31431, leveraging a 4-byte page-cache write primitive via authencesn(hmac(sha256),cbc(aes)) to corrupt setuid binaries and achieve root privileges. The PoC includes shellcode injection and auto-restoration of the target binary.
This repository contains a functional exploit for CVE-2026-31431, leveraging socket manipulation and file descriptor operations to achieve local privilege escalation (LPE). The exploit uses a crafted ELF payload to execute arbitrary commands with elevated privileges.
This repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` module. The exploit leverages a page cache corruption flaw via `AF_ALG` and `splice()` to achieve root privileges.
The exploit leverages a Linux kernel vulnerability (CVE-2026-31431) to achieve local privilege escalation by manipulating socket options and splicing file descriptors. It overwrites the `/usr/bin/su` binary with a malicious payload to gain root access.
This repository contains a Go-based mitigation tool for CVE-2026-31431, which disables vulnerable kernel modules (e.g., algif_aead) and applies system-level mitigations to prevent exploitation. It includes CI/CD workflows for building and releasing the tool.
This repository contains a functional proof-of-concept exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's cryptographic subsystem. The exploit leverages a logical bug in the AF_ALG module to write controlled bytes into the page cache of arbitrary files, enabling privilege escalation.
The repository contains a functional Python exploit for CVE-2026-31431, targeting a Linux kernel vulnerability. The exploit manipulates socket options and file descriptors to achieve local privilege escalation (LPE) by overwriting the `/usr/bin/su` binary with a malicious payload.
The repository contains only a minimal README with no exploit code, technical details, or meaningful content related to CVE-2026-31431.
This script mitigates a privilege escalation vulnerability by disabling vulnerable kernel modules (esp4, esp6, rxrpc) and clearing cache. It is a functional fix for CVE-2026-31431, likely related to a kernel-level exploit.
This Python script exploits a vulnerability (CVE-2026-31431) by manipulating socket options and sending crafted messages to achieve arbitrary code execution. It overwrites the `/usr/bin/su` binary with a decompressed payload and executes it.
This repository contains a functional mitigation script for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the algif_aead module. The script disables the vulnerable module, upgrades the kernel, and optionally sets up automated updates.
The repository contains a README with detection and mitigation commands but no actual exploit code. The 'exploit' section directs users to download and execute a script from an external URL, which is a common social engineering tactic.
This repository contains a functional C++/x86-64 assembly implementation of CVE-2026-31431 (Copyfail), which exploits a vulnerability in the Linux kernel's AF_ALG socket interface to achieve local privilege escalation (LPE). The exploit crafts malicious control messages to manipulate kernel memory and ultimately spawns a root shell.
This repository contains a functional exploit for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the AF_ALG cryptographic subsystem. The exploit manipulates the page cache via malformed AEAD operations to achieve root access.
This repository provides a detailed technical analysis of CVE-2026-31431, a Linux kernel vulnerability involving Page Cache isolation failure via the AF_ALG subsystem. It includes a Python script for validation and thorough documentation of the exploit mechanism.
The repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the Crypto API (AF_ALG) combined with the splice() system call, allowing local privilege escalation via page cache poisoning. It includes detailed technical analysis, PoC code for Ubuntu 18.04 and 22.04, and mitigation steps.
This repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation (LPE) vulnerability in the `algif_aead` cryptographic module. The exploit manipulates the page cache of `/etc/passwd` to escalate privileges from a non-root user to root.
This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the `algif_aead` / `authencesn` AEAD implementation. The exploit demonstrates local privilege escalation by corrupting the page cache to inject shellcode into `/usr/bin/su`.
The repository contains a functional Python-based Proof of Concept (PoC) for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the AF_ALG/algif_aead cryptographic interface. The PoC exploits the vulnerability to overwrite the /usr/bin/su binary, achieving privilege escalation.
This repository contains a functional mitigation script for CVE-2026-31431, an unprivileged Linux LPE via xfrm ESP-in-UDP MSG_SPLICE_PAGES. The script applies sysctl and modprobe mitigations to block the exploit path.
This repository contains a functional C++ implementation of CVE-2026-31431, a local privilege escalation vulnerability leveraging AF_ALG and splice() to corrupt the page cache of /usr/bin/su, enabling root access. The exploit is self-contained, statically compiled, and includes a zlib-compressed payload for overwriting the target binary.
The exploit leverages a vulnerability in the Linux AF_ALG socket interface to achieve local privilege escalation (LPE) by manipulating the 'authencesn' algorithm and decompressing a crafted payload. It attempts to execute 'su' to gain root access.
This repository contains a Python script that checks for the presence of CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` page-cache write mechanism. It does not exploit the vulnerability but validates system susceptibility by testing AF_ALG socket operations and target file existence.
This repository contains a functional mitigation script for CVE-2026-31431, which prevents the loading of the vulnerable 'algif_aead' kernel module on Debian/Ubuntu-based systems. The script creates a modprobe configuration file to blacklist the module and unloads it if already loaded.
This repository contains a functional exploit for CVE-2026-31431, leveraging a Linux kernel vulnerability in the crypto subsystem. The exploit uses splice() to deliver page-cache references of read-only files (e.g., setuid binaries) to crypto TX scatterlists, enabling arbitrary code execution via a crafted payload.
This repository contains a functional local privilege escalation exploit for CVE-2026-31431, targeting a vulnerability in the Linux kernel's AF_ALG cryptographic subsystem combined with the splice() system call. The exploit modifies the page cache of SUID binaries or /etc/passwd to achieve root access.
This repository contains a functional local privilege escalation (LPE) exploit for CVE-2026-31431, targeting a vulnerability in the Linux kernel's AF_ALG socket implementation. It also includes mitigation tools to temporarily block the vulnerable module.
DIRTYFAIL is a unified detector and PoC harness for the Copy Fail and Dirty Frag Linux page-cache write vulnerability families. It includes functional exploit code for CVE-2026-31431, CVE-2026-43284, and CVE-2026-43500, demonstrating the vulnerabilities by modifying the kernel's in-memory copy of files.
This repository contains a functional exploit PoC for CVE-2026-31431, demonstrating a runtime integrity guard that detects and blocks Linux page cache tampering attacks. It includes scripts to trigger and verify the vulnerability, as well as a detailed technical explanation of the attack mechanism.
This repository contains a functional exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's AF_ALG subsystem. The exploit leverages a page-cache corruption primitive to achieve privilege escalation, with compatibility for Python 3.7+ and tested on Astra Linux.
This repository contains a functional exploit for CVE-2026-31431, leveraging a vulnerability in the Linux kernel's AF_ALG socket implementation to achieve local privilege escalation. The exploit uses crafted socket operations to inject and execute shellcode, with architecture-specific payloads for AMD64 and AArch64.
This repository contains a functional exploit for CVE-2026-31431, leveraging a vulnerability in the Linux kernel's AF_ALG socket interface to achieve local privilege escalation (LPE). The exploit uses crafted AEAD operations to manipulate kernel memory and execute a payload that spawns a root shell.
This PoC exploits a Linux kernel vulnerability (CVE-2026-31431) by corrupting the /usr/bin/su binary via splice() and AF_ALG socket operations, bypassing VFS write permissions to achieve local privilege escalation (LPE). The exploit overwrites the binary with a payload that spawns a root shell when executed.
This repository provides a diagnostic and mitigation script for CVE-2026-31431, focusing on detecting and patching a vulnerability in the Linux kernel's AF_ALG AEAD module. It includes checks for kernel configuration, module status, and vulnerability exposure but does not contain exploit code.
This repository contains a functional Python implementation of the CopyFail2 kernel exploit (CVE-2026-31431), which leverages a vulnerability in the xfrm ESP-in-UDP MSG_SPLICE_PAGES path to achieve unprivileged local privilege escalation on Linux kernels >= 6.5. The exploit overwrites /etc/passwd to create a passwordless root user.
This repository contains a Python implementation of the CopyFail2 exploit (CVE-2026-31431), which leverages a kernel vulnerability in the xfrm ESP-in-UDP splice path to achieve local privilege escalation. The exploit overwrites a nologin/false entry in /etc/passwd with a passwordless root user and drops into a root shell via su.
This repository contains a functional exploit for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the cryptographic subsystem. The exploit leverages a logic bug in the authencesn algorithm to corrupt the page cache of setuid binaries, allowing unprivileged users to gain root access.
This repository provides bpftrace-based mitigation scripts for CVE-2026-31431 (Copy Fail), targeting AF_ALG socket bindings with the 'authencesn' algorithm. It includes functional scripts (tracepoint.sh, kprobe.sh, kfunc.sh) and a test case (bind_af_alg.py) to validate the mitigation.
This repository provides a detailed technical analysis of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` module. It includes root cause analysis, vulnerable code snippets, and a comprehensive explanation of the exploitation path.
The repository contains a functional Python exploit for CVE-2026-31431, leveraging AF_ALG sockets, AEAD cryptographic operations, and splice() to overwrite a privileged binary (/usr/bin/su) for local privilege escalation.
This repository contains a functional local privilege escalation (LPE) exploit for CVE-2026-31431, targeting a vulnerability in the Linux kernel's AF_ALG interface. The exploit leverages the 'authencesn' algorithm with crafted socket operations and splice calls to overwrite the '/usr/bin/su' binary, ultimately spawning a root shell.
This repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation (LPE) vulnerability in the `algif_aead` module. The exploit leverages an AF_ALG socket combined with `splice()` to corrupt page-cache data, allowing arbitrary writes to setuid binaries like `/usr/bin/su` to gain root access.
This repository contains a functional exploit in C for CVE-2026-31431, targeting a Linux kernel vulnerability in the AF_ALG AEAD path. The exploit manipulates the page-cache of a target binary (e.g., /usr/bin/su) using splice operations and crypto plumbing to achieve local privilege escalation (LPE).
The repository contains only a minimal README with no technical details or exploit code. It appears to be a placeholder or stub with no functional content.
This repository contains a functional exploit for CVE-2026-31431, demonstrating a novel technique to corrupt executable code in memory via the Linux kernel's page cache, achieving root privilege escalation. The exploit leverages a 4-byte write primitive to modify libc's code pages, forcing any process calling exit() to execute arbitrary shellcode.
This repository provides a detailed technical analysis of CVE-2026-31431, a Linux kernel privilege escalation vulnerability. It includes a comprehensive breakdown of the vulnerability's root cause, affected systems, exploitation scenarios, and mitigation steps.
This repository contains a bash script that checks for potential vulnerability to CVE-2026-31431 (Copy Fail), a local privilege escalation (LPE) in the Linux kernel. It verifies kernel versions, module loading, and configuration settings but does not exploit the vulnerability.
The repository contains a functional exploit for CVE-2026-31431, targeting a Linux kernel vulnerability in the Bluetooth L2CAP protocol with AF_ALG socket manipulation. The exploit leverages socket options and splice operations to achieve privilege escalation, executing '/usr/bin/su' to gain root access.
This repository contains a functional exploit for CVE-2026-31431, a container escape vulnerability leveraging a Copy Fail technique. The exploit involves overwriting the healthcheck binary with a malicious payload to gain root access on the host system.
This repository contains a functional kernel module that mitigates CVE-2026-31431 by blocking AF_ALG socket creation using ftrace. The module hooks into __sock_create and denies access to AF_ALG requests, providing a temporary mitigation for systems unable to use eBPF LSM.
This repository provides a detailed guide for mitigating CVE-2026-31431, a logical flaw in the Linux kernel's AF_ALG / algif_aead path, by updating the kernel and kmod packages on Ubuntu systems. It includes step-by-step instructions for configuring mirrors, updating packages, and verifying the installation.
The repository contains only a README.md file with the CVE identifier and no additional technical details or exploit code. It is a placeholder with minimal content.
This repository contains a Python-based scanner for CVE-2026-31431, which checks for vulnerable kernel versions and the presence of the AF_ALG module. It provides recommendations for patching but does not include exploit code.
The exploit leverages a logic flaw in Linux kernel socket handling to achieve local privilege escalation (LPE) without requiring race conditions or kernel-specific offsets. It manipulates socket options and file descriptors to overwrite the `/usr/bin/su` binary with a malicious payload, granting root access.
This repository provides a detailed technical analysis of CVE-2026-31431, focusing on detection theory, exploit variants, and defense mechanisms. It includes in-depth discussions on monitoring strategies, convergence points, and multi-signal temporal correlation for detecting the vulnerability.
This repository contains a diagnostic utility for Linux that checks the availability of AF_ALG/algif_aead and assesses the risk of CVE-2026-31431. It performs runtime checks, analyzes kernel modules, and provides mitigation recommendations.
This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in `algif_aead` / `authencesn` that allows local privilege escalation (LPE) by corrupting page cache of readable files like `/etc/passwd` or `/usr/bin/su`. The exploit includes both detection tools and PoC code in Python and Rust.
This repository contains a functional exploit for CVE-2026-31431, a page cache corruption vulnerability in the Linux kernel's AF_ALG/AEAD implementation. The exploit is a 587-byte static ELF binary that achieves local privilege escalation by corrupting the page cache of a setuid binary (e.g., /bin/su) via splice aliasing.
This repository contains a functional proof-of-concept exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel. The exploit leverages a flaw in the AF_ALG socket implementation to overwrite the UID field in /etc/passwd, granting root access to an unprivileged user.
The repository contains a Python script that detects the presence of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` module. It checks kernel versions, module availability, socket accessibility, and system configurations but does not include exploit code.
This repository provides a detailed technical explanation of CVE-2026-31431, focusing on the evolution of the vulnerability in Linux kernel crypto operations, specifically the authencesn algorithm. It covers the historical context, changes in kernel behavior, and how scatterlists and page cache interactions lead to exploitation.
This repository provides a detailed technical analysis and ARM64 porting process for CVE-2026-31431, a Linux kernel privilege escalation vulnerability. It includes deobfuscated exploit code, shellcode analysis, and a comprehensive blog post explaining the vulnerability mechanics.
This repository contains an Ansible playbook for mitigating CVE-2026-31431, a vulnerability in the algif_aead kernel module. It provides detailed technical steps to blacklist the module and includes checks for patched kernel versions on Debian and CentOS systems.
This repository contains scripts to check and update AlmaLinux kernels for CVE-2026-31431. It does not exploit the vulnerability but scans for vulnerable kernel versions and provides remediation steps.
The PoC exploits a Linux kernel vulnerability (CVE-2026-31431) in the crypto subsystem, leveraging splice() to manipulate page-cache references of read-only files (e.g., setuid binaries) via crafted socket operations. It achieves local privilege escalation by corrupting memory and executing arbitrary code (e.g., 'su').
The repository contains a Bash script that scans for indicators of exposure to CVE-2026-31431, a Linux kernel vulnerability, by checking kernel versions, module status, and system configurations. It does not exploit the vulnerability but provides a risk assessment based on collected data.
The repository contains functional exploit code for CVE-2026-31431, targeting a vulnerability in Python's socket handling. The exploit uses crafted socket operations and splice() to achieve arbitrary code execution, specifically overwriting /bin/su or /usr/bin/su with a decompressed payload.
The repository contains a mitigation script for CVE-2026-31431, which scans for vulnerable kernel modules and applies mitigations by blocking them via modprobe. It does not include exploit code but provides detection and remediation steps.
The PoC exploits CVE-2026-31431, a Linux privilege escalation vulnerability via AF_ALG crypto abuse, manipulating AEAD socket handling to gain root access. It uses socket manipulation and memory corruption techniques to execute arbitrary code with elevated privileges.
This repository contains a functional Go-based exploit for CVE-2026-31431, leveraging Linux syscalls and socket manipulation to achieve local privilege escalation by patching the 'su' binary. The exploit includes payload generation, shellcode injection, and PTY upgrade mechanisms.
This repository provides detection and patching scripts for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability via the `algif_aead` (AF_ALG) interface. It includes a non-root detection script and a root patching script but does not contain actual exploit code.
This repository provides a detailed technical analysis and patch for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's cryptographic subsystem affecting RK35xx devices. It includes a pre-compiled kernel patch and instructions for manual reproduction.
This repository contains a functional local privilege escalation exploit for CVE-2026-31431, leveraging an AF_ALG socket combined with splice() to overwrite the page cache of a read-only SUID binary (/usr/bin/su) with a malicious ELF payload. The exploit is written in C and compiled via a Bash wrapper script, targeting Linux kernels 4.9 through 6.18.
This repository provides a detection toolkit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` module. It includes scripts and configurations for scanning systems, checking kernel versions, module states, and mitigations without exploiting the vulnerability.
The repository contains a Bash script that checks for the presence of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `authencesn` AEAD cryptographic template. It performs read-only checks on kernel version, module status, and socket reachability without exploiting the vulnerability.
This repository contains a defensive tool that checks for system exposure indicators related to CVE-2026-31431 without exploiting the vulnerability. It verifies kernel versions, package manager updates, and module statuses to assess potential risk.
This exploit leverages a Linux kernel vulnerability in the AF_ALG socket interface to achieve local privilege escalation (LPE) by manipulating splice operations and AEAD cipher configurations. It targets the 'su' binary to gain root access.
This repository contains a bash script designed to detect the presence of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` module. The script checks kernel versions, module status, boot parameters, and other mitigations but does not include exploit code.
This repository contains a FastAPI-based scanner for detecting CVE-2026-31431, a local privilege escalation vulnerability. It checks for suspicious SUID binaries and package versions but does not include exploit code.
This repository contains a functional C exploit for CVE-2026-31431, which leverages a logic bug in the AF_ALG subsystem to achieve unprivileged local privilege escalation (LPE) by corrupting the page cache of readable files, specifically targeting /usr/bin/su to gain root access.
The repository contains functional exploit code for CVE-2026-31431, a Linux kernel vulnerability in AF_ALG that allows local privilege escalation via page cache corruption. The exploit leverages the authencesn algorithm to trigger unauthorized writes to the page cache, enabling an attacker to modify sensitive files like /etc/passwd.
This Rust-based PoC exploits a memory corruption vulnerability in the Linux kernel's AF_ALG socket implementation (CVE-2026-31431) by crafting malicious control messages to achieve arbitrary code execution. It uses splice() to manipulate file descriptors and inject shellcode into the target binary (/usr/bin/su).
The repository contains a functional Python exploit for CVE-2026-31431, targeting a local privilege escalation vulnerability in Linux kernel versions 6.12.0 to 6.18.8. The exploit manipulates socket options and file descriptors to overwrite the `/usr/bin/su` binary with a malicious payload, achieving root access.
The repository contains obfuscated Python code that attempts to execute a reverse shell and download additional payloads, masquerading as a PoC for CVE-2026-31431. The code is deceptive and includes no legitimate exploit details for the CVE.
This repository provides a detailed technical analysis of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel affecting systems since 2017. It includes MITRE ATT&CK mappings, mitigation strategies, and detection details but lacks actual exploit code.
This repository contains a Python-based detection tool for CVE-2026-31431, a Linux kernel vulnerability affecting versions 4.13+ (since August 2017). The tool performs non-destructive checks to determine if a system is vulnerable by analyzing kernel version, module status, and patch configurations, but does not include exploit code.
This repository contains a functional local privilege escalation exploit for CVE-2026-31431, targeting the Linux kernel's `algif_aead` path via `AF_ALG` and `splice()` to overwrite the page cache of `/usr/bin/su` with a malicious payload.
This repository contains a Bash script designed to check for exposure indicators and mitigation status of CVE-2026-31431 on Debian-based Linux systems. It verifies kernel package details, module states, and reboot status to determine if the system is patched or requires action.
The repository contains a functional exploit for CVE-2026-31431, which targets a memory handling/logic flaw in copy operations. The exploit leverages improper buffer validation and error handling to achieve privilege escalation via a crafted payload.
This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability allowing local privilege escalation (LPE) by writing controlled bytes into the page cache of readable files. The exploit leverages the AF_ALG socket interface to trigger the vulnerability and modifies /etc/passwd to gain root access.
This repository contains a functional exploit for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the `crypto: algif_aead` subsystem. The exploit daemonizes, loads required kernel modules, and patches `/usr/bin/su` in-memory to spawn a root reverse shell with a fully interactive PTY.
This repository provides a bash script to detect and mitigate exposure to CVE-2026-31431 by checking for the presence and loading status of the 'algif_aead' kernel module and applying a temporary mitigation via modprobe configuration.
This repository contains a functional exploit for CVE-2026-31431, leveraging a multi-layered payload (hex string → zlib decompression → ELF binary → shellcode) to achieve root shell execution. The exploit is architecture-agnostic, supporting multiple platforms with tailored shellcode for each.
This repository contains a functional Python-based exploit for CVE-2026-31431, a Linux local privilege escalation vulnerability leveraging AF_ALG + splice() + authencesn to corrupt page cache and execute arbitrary code as root.
The repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` cryptographic subsystem. The exploit leverages a 4-byte write primitive into the page cache to patch a setuid binary and escalate privileges to root.
This repository contains functional exploit code for CVE-2026-31431, a Linux local privilege escalation vulnerability in the kernel crypto API via AF_ALG. The exploit manipulates page cache data of SUID binaries to gain root access.
This repository provides a defensive mitigation script for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel involving splice() and AF_AEAD sockets. It includes detailed technical explanations, mitigation steps, and usage instructions but does not contain exploit code.
The repository contains a functional exploit for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the `authencesn` cryptographic template. The exploit leverages a 4-byte write primitive in the page cache to corrupt setuid binaries like `/usr/bin/su` and achieve root access.
This repository provides an Ansible role to mitigate CVE-2026-31431 by blocking the vulnerable `algif_aead` kernel module via modprobe.d. It includes verification steps to ensure the mitigation is effective and warns about limitations on RHEL-family systems.
This repository contains a functional exploit for CVE-2026-31431, a Linux kernel privilege escalation vulnerability leveraging AF_ALG and Page Cache Injection techniques. The exploit modifies the in-memory behavior of SUID binaries (e.g., /usr/bin/su) to escalate privileges without altering the binary on disk.
The repository contains a functional Python-based PoC exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` module. The exploit leverages an out-of-bounds write in the page cache to corrupt a setuid binary and achieve root access.
This repository contains a functional exploit script for CVE-2026-31431, which appears to be a local privilege escalation (LPE) vulnerability in the Linux kernel. The script uses a Python-based exploit to gain root privileges by manipulating socket options and memory corruption techniques.
This repository provides a detailed technical writeup and environment setup for reproducing CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` module. It includes step-by-step instructions for building a debug environment with QEMU and GDB, but does not contain actual exploit code.
This is a functional exploit for CVE-2026-31431, leveraging an OOB write vulnerability in the Linux kernel's AF_ALG AEAD splice implementation to overwrite /usr/bin/su with shellcode, achieving local privilege escalation.
The repository contains a functional Python exploit for CVE-2026-31431, targeting a Linux kernel vulnerability related to memory management or copy operations. The exploit uses socket manipulation and memory splicing to achieve privilege escalation, likely leveraging a flaw in the `mmionf` (memory-mapped I/O) subsystem.
This repository contains a functional Rust-based exploit for CVE-2026-31431, leveraging a race condition in the Linux kernel's AF_ALG AEAD socket implementation to escalate privileges. The exploit uses splice() operations to trigger a CopyFail condition, bypassing kernel capability checks.
This repository contains a functional exploit for CVE-2026-31431, a Linux local privilege escalation vulnerability. The exploit includes kernel version detection, user confirmation, and a payload injection mechanism to escalate privileges to root.
This repository contains a functional privilege escalation exploit for CVE-2026-31431, targeting the Linux kernel's AF_ALG crypto subsystem. The exploit leverages malformed key operations and crafted sendmsg calls to trigger a corruption, ultimately attempting to spawn a root shell via 'su'.
This PHP PoC exploits CVE-2026-31431 by leveraging a copy failure vulnerability in the Linux kernel's AF_ALG socket implementation to achieve local privilege escalation. It uses FFI to manipulate socket operations and splice system calls to overwrite memory, ultimately executing '/usr/bin/su' to gain root access.
This repository contains a functional Go-based exploit for CVE-2026-31431, leveraging a memory corruption vulnerability in the Linux Kernel Crypto API (AF_ALG) to achieve local privilege escalation by patching the /usr/bin/su binary in the page cache.
The repository contains a functional exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `authencesn` cryptographic template. The exploit leverages a deterministic 4-byte write into the page cache of any readable file, such as `/usr/bin/su`, to achieve privilege escalation.
The exploit leverages a socket-based vulnerability to achieve local privilege escalation by manipulating socket options and sending crafted messages to overwrite the `/usr/bin/su` binary with a malicious payload, then executing it.
This repository contains a functional Python-based local privilege escalation (LPE) exploit for CVE-2026-31431, targeting the Linux kernel's AF_ALG socket interface. The exploit injects a payload via `os.splice` and `zlib` decompression to escalate privileges to root.
This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the AF_ALG subsystem that allows local privilege escalation via a NULL pointer dereference leading to a heap out-of-bounds write.
This repository contains two functional Python exploits for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` module. The exploits leverage the `AF_ALG` socket interface and `splice()` system call to perform a controlled 4-byte write into the page cache of `/usr/bin/su`, allowing unprivileged users to gain root access.
This repository provides a mitigation script for CVE-2026-31431, which involves blacklisting the 'algif_aead' kernel module to prevent privilege escalation. The script includes steps to unload the module, blacklist it, and update the initramfs.
This repository provides Ansible playbooks and roles for mitigating CVE-2026-31431, focusing on assessment and remediation strategies such as module blacklisting, SELinux policies, seccomp, and eBPF LSM. It includes detailed documentation, contributor guidelines, and multiple playbooks for different use cases.
This repository contains a Zig implementation of a local privilege escalation (LPE) exploit for CVE-2026-31431, leveraging a Linux kernel vulnerability in the AF_ALG iov_iter rework. The exploit allows writing arbitrary data to executable files via splice operations and includes shellcode for privilege escalation.
This repository contains a scanner script (`copyfail_scan.sh`) designed to detect the presence of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` crypto userspace API. The script scans hosts over SSH to inventory kernel versions, check for `algif_aead` presence, and identify potential mitigations, but does not include exploit code.
This exploit leverages a Linux kernel AF_ALG socket vulnerability (CVE-2026-31431) to achieve local privilege escalation by manipulating socket options and splicing data to overwrite the 'su' binary with malicious code. The payload is decompressed and written in chunks to bypass protections.
This repository contains a functional exploit for CVE-2026-31431, leveraging a vulnerability in the Linux kernel's AF_ALG socket implementation to achieve local privilege escalation. The exploit uses crafted socket operations and splice system calls to inject malicious payloads into the `/usr/bin/su` binary, ultimately executing it with elevated privileges.
This repository provides a detailed DFIR (Digital Forensics and Incident Response) walkthrough for CVE-2026-31431, a Linux kernel vulnerability. It includes forensic techniques, tools like Volatility 3, and real commands for incident response, focusing on memory forensics to detect the exploit.
This repository contains a functional local privilege escalation exploit for CVE-2026-31431, leveraging a logic bug in the Linux kernel's `authencesn` cryptographic template to perform controlled 4-byte writes into the page cache of readable files, ultimately achieving root access via a corrupted `/usr/bin/su` binary.
This repository contains a functional exploit PoC for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the `algif_aead` cryptographic interface. It includes a BPF LSM DaemonSet for zero-reboot remediation and a test script to confirm vulnerability.
This repository contains a functional exploit for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the AF_ALG socket interface. The exploit leverages a 4-byte out-of-bounds write in the authencsn crypto algorithm to corrupt the page cache of /usr/bin/su, allowing arbitrary code execution as root.
This repository contains a multi-OS vulnerability scanner for CVE-2026-31431 (Linux kernel crypto/algif_aead flaw) and CVE-2026-41940 (cPanel & WHM authentication bypass). It checks for vulnerable configurations, patch status, and mitigation measures without exploiting the vulnerabilities.
This repository contains a functional exploit for CVE-2026-31431, which leverages a splice-based arbitrary page-cache write vulnerability to achieve local privilege escalation by corrupting /usr/bin/su with shellcode.
This repository contains a functional Python-based Proof-of-Concept (PoC) for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability. The exploit leverages the AF_ALG crypto API and splice() to corrupt the page cache of a setuid binary (e.g., /usr/bin/su), allowing unprivileged users to gain root access.
This repository provides an Ansible playbook for mitigating CVE-2026-31431 by disabling the vulnerable `algif_aead` kernel module on Debian/Ubuntu and RHEL-based systems. It includes detailed documentation, usage instructions, and verification steps but does not contain exploit code.
This repository contains a functional exploit for CVE-2026-31431, demonstrating a page-cache write vulnerability via AF_ALG+splice. It includes a canary test to verify vulnerability and a universal local privilege escalation (LPE) exploit that dynamically discovers and patches PAM functions in libpam to bypass authentication.
This repository contains a functional exploit for CVE-2026-31431, demonstrating a local privilege escalation (LPE) via arbitrary page-cache writes using AF_ALG and splice. The exploit dynamically discovers and patches PAM functions in libpam to bypass authentication checks.
This repository contains functional exploit code for CVE-2026-31431, a Linux kernel crypto subsystem vulnerability allowing local privilege escalation via AF_ALG and splice() manipulation. The PoC demonstrates a 4-byte write to the page cache of any readable file, leading to root access by corrupting a setuid binary.
This repository contains a functional BPF LSM-based mitigation for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the `authencesn` cryptographic template. The PoC blocks vulnerable AF_ALG socket binds using eBPF, compiled via Whistler (a Common Lisp eBPF compiler), and includes a test script to verify the blocker's functionality.
This repository provides a detailed technical analysis of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's cryptographic subsystem (AF_ALG and algif_aead module). It includes root cause analysis, affected systems, and remediation guidance but does not contain exploit code.
This repository contains a C-based Linux local privilege escalation exploit for CVE-2026-31431, leveraging AF_ALG, authencesn, and splice primitives to overwrite the page cache of /usr/bin/su with setuid shellcode for root access.
This repository contains a functional proof-of-concept exploit for CVE-2026-31431, demonstrating arbitrary code execution in a running process via page cache manipulation using the 'Copy Fail' technique. The exploit compiles a test binary, injects shellcode to replace a function, and verifies execution by comparing the process PID.
The repository claims to provide a local privilege escalation exploit for CVE-2026-31431 but contains no actual exploit code. It references external documents for technical details, mitigation, and detection, which are not included in the repository.
The repository contains a functional Python exploit for CVE-2026-31431, leveraging socket manipulation and file operations to achieve local privilege escalation (LPE) by overwriting the `/usr/bin/su` binary with a malicious payload.
The repository contains only a vague README with buzzwords like 'Hardened AF_ALG/splice page-cache mutation primitive' but no actual exploit code, technical details, or proof-of-concept. It appears to be a placeholder or lure.
This repository contains a functional Python exploit for CVE-2026-31431, targeting a Linux kernel vulnerability via page cache hijacking to inject data into /etc/passwd for privilege escalation. The exploit includes detection, exploitation, and cleanup phases, with a menu-driven interface.
The repository contains a functional Python-based exploit for CVE-2026-31431, demonstrating a local privilege escalation (LPE) vulnerability. The exploit manipulates socket options and file descriptors to achieve privilege escalation via the 'su' binary.
This repository contains a functional C-based PoC for CVE-2026-31431, exploiting a Linux kernel AF_ALG subsystem page cache poisoning vulnerability to achieve local privilege escalation (LPE) by corrupting SUID file contents. The code includes a shellcode payload to spawn a shell and demonstrates the exploit chain via AF_ALG socket manipulation and splice system calls.
The repository contains only a minimal README with a title and brief description of CVE-2026-31431, a Linux Kernel Local Privilege Escalation vulnerability, but no exploit code, technical details, or additional content.
This repository contains a functional script that automates the mitigation of CVE-2026-31431 by updating the kernel on AlmaLinux/CloudLinux systems and setting the patched version as default. The script handles package updates, repository management, and GRUB configuration.
The repository contains only a README.md file with no actual exploit code or technical details. It appears to be a placeholder or incomplete submission.
This repository provides mitigation guidance and configuration files for CVE-2026-31431, a Linux kernel vulnerability in the `algif_aead` module. It includes detailed technical analysis, mitigation steps, and detection rules for Deckhouse Kubernetes Platform.
This repository contains a functional Python port of the CVE-2026-31431 exploit, which corrupts the page cache of the setuid `su` binary to achieve local privilege escalation (LPE). The exploit uses `os.splice` to overwrite the page cache with shellcode, then executes the corrupted `su` binary to gain root privileges.
This repository provides an Ansible playbook to detect and mitigate CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` AF_ALG interface. The mitigation involves appending `initcall_blacklist=algif_aead_init` to the kernel command line to prevent exploitation.
This repository contains a functional exploit PoC for CVE-2026-31431, a Linux kernel AF_ALG AEAD use-after-free vulnerability. The code demonstrates the vulnerability by interacting with the AF_ALG interface and triggering the bug through crafted control messages.
This repository contains a Go-based exploit for CVE-2026-31431 (Copy.Fail), a Linux kernel vulnerability in the `algif_aead` crypto module. The exploit allows unprivileged users to gain root access by manipulating the page cache of SUID binaries without modifying the underlying files.
This repository contains functional exploit code for CVE-2026-31431, demonstrating a local privilege escalation (LPE) vulnerability. The exploit leverages the AF_ALG socket interface to manipulate kernel memory and execute arbitrary code with elevated privileges.
The repository contains functional exploit code for CVE-2026-31431, demonstrating a local privilege escalation (LPE) via a flaw in the Linux AF_ALG socket interface. Both C and Python versions are provided, leveraging improper handling of cryptographic operations to escalate privileges to root.
This repository provides per-distro mitigation scripts for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` module. It includes detailed technical analysis, patch status tracking, and scripts to blacklist the vulnerable module or install patched kernels.
This repository provides a Kubernetes DaemonSet to mitigate CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` module. It includes detailed documentation, YAML manifests for deployment, and a script to blacklist the vulnerable module and label nodes based on their mitigation status.
The repository contains a functional exploit for CVE-2026-31431, utilizing obfuscated Python code with ChaCha20 decryption to execute a payload. The exploit establishes a socket connection, sends crafted messages, and likely achieves remote code execution.
This repository contains a functional C exploit for CVE-2026-31431, leveraging the Linux kernel crypto API (AF_ALG) with AEAD mode, MSG_MORE flag, and splice system call to achieve privilege escalation by processing data from a read-only file descriptor.
This repository contains a functional exploit for CVE-2026-31431, targeting a vulnerability in the Linux kernel's AF_ALG socket implementation. The exploit uses crafted control messages and splice operations to achieve arbitrary code execution.
The repository contains a functional Python exploit for CVE-2026-31431, targeting a Linux kernel vulnerability involving page cache manipulation to achieve local privilege escalation (LPE). The exploit uses socket manipulation and file operations to overwrite the `/usr/bin/su` binary with a malicious payload.
This repository contains a Go-based scanner for CVE-2026-31431, designed to detect vulnerable systems by checking kernel versions, distribution details, changelogs, and module states. It does not include exploit code but provides a comprehensive detection mechanism.
This repository provides a detailed technical analysis and detection rules for CVE-2026-31431, a Linux kernel vulnerability in the 'authencesn' cryptographic template. It includes Wazuh rules and auditd configurations to detect the exploit chain, which involves a 4-byte write into the page cache of readable files.
This repository contains a functional exploit PoC for CVE-2026-31431, a Linux kernel vulnerability in the AF_ALG socket family that allows a page-cache write primitive. The script detects the vulnerability and optionally applies a mitigation by blacklisting the algif_aead module.
This repository contains a functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the AF_ALG/crypto API. The PoC patches /usr/bin/su in memory to execute arbitrary commands as root.
The repository contains a functional exploit for CVE-2026-31431, a 4-byte page-cache write primitive in the Linux kernel's `authencesn` AEAD template. The exploit leverages `AF_ALG` and `splice()` to achieve local privilege escalation or container escape by overwriting specific bytes in the page cache of readable files.
This repository contains a functional exploit for CVE-2026-31431, targeting a vulnerability in the Linux kernel's AF_ALG socket implementation. The exploit manipulates control messages and splicing operations to patch the `/usr/bin/su` binary, achieving local privilege escalation (LPE).
This repository contains a Python-based vulnerability detection script for CVE-2026-31431, a local privilege escalation flaw in the Linux kernel's AF_ALG crypto subsystem. The script checks for exploitable conditions but does not include exploit code.
This repository contains a functional Python PoC for CVE-2026-31431, which exploits a vulnerability in the Linux kernel's `AF_ALG` interface to manipulate the page cache of SUID binaries and achieve local privilege escalation. The script includes payloads for multiple architectures and performs runtime checks for compatibility.
This repository contains a functional exploit for CVE-2026-31431, which leverages a flaw in the Linux kernel's authencesn length validation to write dirty pages back to unauthorized locations, achieving privilege escalation by modifying /etc/passwd to remove the root password.
This repository provides a mitigation tool and technical analysis for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `authencesn` cryptographic template. It includes a script to block `AF_ALG` socket creation via seccomp for Docker containers and Kubernetes pods, along with detailed technical background and mitigation steps.
This repository contains a functional proof-of-concept exploit for CVE-2026-31431, a Linux kernel vulnerability in the algif_aead module that allows local privilege escalation via a controlled 4-byte write into the page cache of any readable file. The exploit leverages the authencesn AEAD template to perform the write, targeting /etc/passwd to escalate privileges.
The repository claims to provide a mitigation for CVE-2026-31431 but lacks actual exploit code. It directs users to download and run an external Python script from a different GitHub repository, which is a common tactic for distributing malware or fake exploits.
This repository contains a Rust-based PoC exploit for CVE-2026-31431, leveraging the AF_ALG socket family and splice() system calls to overwrite read-only files in the page cache, specifically targeting the 'su' binary for privilege escalation. The exploit includes multi-architecture support and demonstrates a clear understanding of the vulnerability mechanics.
This repository contains a functional privilege escalation exploit for CVE-2026-31431, targeting a Linux kernel vulnerability in the authencesn AEAD implementation. The exploit manipulates the page cache to modify setuid binaries, granting root access, and includes detailed technical documentation and attack chain analysis for OpenShift environments.
The repository contains a Bash script to detect and mitigate CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` module. It checks for module presence, load status, and system patch state, and can apply a mitigation by blocking the module.
The repository contains functional exploit code for CVE-2026-31431, demonstrating a local privilege escalation (LPE) vulnerability. The exploit manipulates socket options and file descriptors to overwrite the `/usr/bin/su` binary, elevating privileges to root.
This repository contains a functional proof-of-concept exploit for CVE-2026-31431, a Linux kernel vulnerability affecting AF_ALG AEAD implementation. The exploit corrupts the in-memory .text section of setuid-root binaries (e.g., /usr/bin/su) to achieve local privilege escalation.
This repository provides functional bash scripts to mitigate CVE-2026-31431 by disabling the vulnerable 'algif_aead' kernel module via modprobe configuration and initramfs updates. It includes both patching and removal scripts with detailed logging and status checks.
The repository contains a functional exploit for CVE-2026-31431, a logic vulnerability in the Linux kernel's `authencesn` cryptographic template. The exploit leverages AF_ALG sockets and `splice()` to perform a controlled 4-byte write into the page cache of setuid binaries, enabling local privilege escalation to root.
This repository contains a functional Python 3.9-compatible PoC for CVE-2026-31431, a Linux kernel vulnerability in the AF_ALG interface allowing controlled 4-byte writes to the page cache. The exploit uses a ctypes-based splice polyfill and targets /usr/bin/su for privilege escalation.
The repository contains only an empty README.md file with no exploit code, technical details, or meaningful content. It appears to be a placeholder or stub repository.
This repository contains a functional local privilege escalation exploit for CVE-2026-31431, leveraging a Linux kernel vulnerability in the splice() system call to corrupt kernel memory and overwrite setuid binaries.
This repository contains a detection script for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability. The script checks for vulnerable configurations, loaded modules, and mitigation status but does not include exploit code.
This repository provides a hardening script to mitigate CVE-2026-31431 by blocking AF_ALG kernel crypto interfaces. It includes a technical explanation of the mitigation approach and a functional script to disable vulnerable modules.
This repository provides a diagnostic toolkit for detecting and mitigating CVE-2026-31431, a local privilege escalation vulnerability in the Linux Kernel Crypto API (AF_ALG). It includes scripts to audit system security posture, disable AF_ALG modules, and restore them, but does not contain functional exploit code.
This repository contains a functional exploit for CVE-2026-31431, leveraging a Python ctypes wrapper for `os.splice` to achieve remote code execution (RCE) on systems running Python versions below 3.10. The exploit uses socket manipulation and file descriptor splicing to execute arbitrary commands, specifically targeting `/usr/bin/su`.
This repository contains a functional exploit PoC for CVE-2026-31431, targeting a Linux kernel vulnerability in the AF_ALG interface (algif_aead). It includes Ansible playbooks and scripts to check for vulnerability, apply mitigation, and revert changes.
This repository contains a functional Rust implementation of CVE-2026-31431, a Linux kernel vulnerability allowing unprivileged users to write arbitrary data into the page cache of readable files via AF_ALG splice. The exploit includes multiple privilege escalation modes, such as modifying /etc/passwd or overwriting the su binary with shellcode.
This repository contains a Go-based hotfix for CVE-2026-31431, which mitigates a vulnerability by unloading the 'algif_aead' kernel module and preventing its reloading. The code checks for vulnerability status and applies the fix if root privileges are available.
The repository contains a Python script that checks for the presence of a vulnerable kernel module (algif_aead) by attempting to create a socket of type AF_ALG. It does not exploit the vulnerability but detects whether the system is vulnerable to CVE-2026-31431.
This repository contains a functional exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` subsystem. The exploit manipulates the kernel page cache to overwrite arbitrary bytes in world-readable files, specifically targeting `/etc/passwd` to escalate privileges to root.
This repository provides a detailed technical analysis and mitigation strategy for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` / `authencesn` crypto subsystem. It includes a PAM module and standalone binary to apply seccomp filters, blocking the vulnerable `socket(AF_ALG, ...)` syscall.
This repository provides a mitigation technique for CVE-2026-31431 on RHEL systems by disabling the AEAD subsystem via kernel boot parameters. It explains how to modify GRUB configurations to prevent the exploit from functioning by making the AEAD socket unavailable.
This repository provides passive detection scripts and technical documentation for CVE-2026-31431, a Linux LPE and container-escape vulnerability. It includes tools to check for vulnerable kernel versions, module states, and configurations without executing exploit code.
This repository contains a functional exploit for CVE-2026-31431, demonstrating a privilege escalation vulnerability in a containerized environment. The exploit leverages a Python script fetched from an external URL to escalate from a non-root user (UID 1001) to root.
This repository provides a detailed technical analysis of CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's `algif_aead` subsystem. It includes impact analysis, mitigation strategies, and test scripts to verify exploit prerequisites.
This repository provides a Bash script to detect and mitigate exposure to CVE-2026-31431 (Copy Fail) by checking kernel patch status, module availability, and applying a host-level mitigation via modprobe configuration. It does not contain exploit code but helps identify vulnerable systems.
The repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the `authencesn` cryptographic template that allows an unprivileged local user to perform a controlled 4-byte write into the page cache of any readable file, leading to local privilege escalation (LPE). The exploit is a 732-byte Python script that leverages `AF_ALG` sockets and `splice()` to corrupt the page cache of setuid binaries, achieving root access.
This repository provides a mitigation script and technical details for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the AF_ALG crypto interface. It includes scripts to unload vulnerable kernel modules and block exploit paths, along with verification and revert steps.
The repository contains a functional Python exploit for CVE-2026-31431, a local privilege escalation vulnerability in the Linux kernel's cryptographic subsystem (algif_aead). The exploit leverages a controlled 4-byte write into the page cache of setuid binaries to achieve root access.
This repository contains a functional Rust-based PoC for CVE-2026-31431, a local privilege escalation (LPE) vulnerability. It exploits the Linux kernel's Crypto API and `splice` system call to manipulate the page cache, overwriting the UID field in `/etc/passwd` to escalate privileges.
This repository contains a functional local privilege escalation (LPE) exploit for CVE-2026-31431, a Linux kernel page cache pollution vulnerability in the `authencesn` AEAD algorithm. The exploit leverages `AF_ALG` and `splice()` system calls to write 4 bytes to arbitrary readable file page caches, enabling privilege escalation via setuid binaries like `/usr/bin/su`.
This repository contains a Python script that checks for the presence of the vulnerable `algif_aead` module in the Linux kernel, which is associated with CVE-2026-31431. The script does not exploit the vulnerability but passively detects whether the attack surface is reachable.
This repository contains an Ansible playbook that mitigates CVE-2026-31431 by disabling and unloading the vulnerable `algif_aead` kernel module. The playbook automates the remediation process for affected systems.
The repository contains a vague README with no technical details about CVE-2026-31431, instead describing a generic mitigation step without exploit code or vulnerability analysis.
This repository provides a Wazuh SCA policy and mitigation script for CVE-2026-31431, focusing on detecting exposure and verifying mitigation controls for the 'Copy Fail' vulnerability. It includes checks for kernel module states, mitigation file presence, and container hardening signals.
This repository contains a functional exploit for CVE-2026-31431, leveraging an AF_ALG-based page cache write primitive to achieve local privilege escalation by modifying /etc/passwd to remove the root password. The exploit is compatible with both Python 2 and 3.
The repository contains a PowerShell script designed to detect indicators of CVE-2026-31431 (Copy Fail) in WSL and Docker environments by checking for vulnerable kernel modules, AF_ALG sockets, and suspicious processes. It does not include exploit code but focuses on scanning for potential vulnerabilities.
This repository contains a Linux Kernel Module (LKM) that exploits CVE-2026-31431 by unregistering the vulnerable `algif_aead` implementation and optionally registering a fake implementation to prevent reloading. The exploit targets a flaw in the AF_ALG socket interface, likely leading to a denial-of-service or privilege escalation.
This repository contains a functional exploit for CVE-2026-31431, a local privilege escalation vulnerability. The exploit modifies the root password field in /etc/passwd via a 4-byte page-cache write, allowing passwordless root access via `su`.
This repository contains a functional Go-based exploit for CVE-2026-31431, targeting a Linux AF_ALG local privilege escalation vulnerability. The exploit leverages socket operations and splice to manipulate kernel memory, ultimately attempting to escalate privileges by executing '/usr/bin/su'.
This repository contains a fully functional exploit for CVE-2026-31431, a Linux kernel local privilege escalation (LPE) vulnerability. The exploit leverages a logic bug in the `authencesn` cryptographic template, chained with `AF_ALG` and `splice()`, to achieve a 4-byte page-cache write, enabling reliable privilege escalation.
This repository contains functional exploit code for CVE-2026-31431, a Linux local privilege escalation vulnerability in the `authencesn` logic via `AF_ALG` and `splice()`. It includes both the original PoC and an ARM64 variant, both of which attempt to overwrite `/usr/bin/su` to gain a root shell.
This repository provides a functional mitigation script for CVE-2026-31431 (Copy Fail vulnerability) by disabling the vulnerable `algif_aead` kernel module and attempting to evict the first page of `/usr/bin/su` from the page cache. The script includes clear instructions for application, verification, and reversion.
This repository contains a functional exploit PoC for CVE-2026-31431, targeting a Linux kernel vulnerability. The tool automates batch SSH login, vulnerability detection, and remediation (disabling `algif_aead` and kernel upgrades) across multiple hosts.
This repository contains a functional exploit for CVE-2026-31431, a Linux kernel vulnerability in the authencesn AEAD optimization that allows local privilege escalation to root via AF_ALG socket manipulation and splice() system calls. The exploit targets the page cache of setuid binaries like /usr/bin/su to achieve arbitrary write primitives.
The repository contains a functional exploit for CVE-2026-31431 targeting aarch64 and x86_64 architectures. The exploit leverages a socket-based attack to achieve local privilege escalation by overwriting the `/usr/bin/su` binary with a decompressed payload.
The PoC exploits a local privilege escalation vulnerability by manipulating socket options and sending crafted messages to achieve root access. It uses a combination of socket operations and file descriptor manipulation to overwrite the `/usr/bin/su` binary with a malicious payload.
This repository contains a functional local privilege escalation (LPE) exploit for CVE-2026-31431, leveraging the Linux AF_ALG socket interface and splice system calls to manipulate file descriptors and execute privileged commands. The exploit targets specific Linux kernel and Python versions, demonstrating a root shell via the 'su' binary.
This repository contains a C-based exploit for CVE-2026-31431, which leverages a vulnerability in the Linux kernel's AF_ALG socket implementation to overwrite read-only page cache entries, similar to DirtyPipe. The exploit targets `/usr/bin/su` to achieve local privilege escalation (LPE) by injecting a malicious ELF payload.
This repository contains a bash script to check for the presence of CVE-2026-31431 by verifying kernel versions, package updates, and AF_ALG socket accessibility. It also includes a mitigation script to disable AF_ALG modules if needed.
This repository provides defensive detection content for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` crypto interface. It includes Sigma rules, auditd configurations, a Falco rule for containers, and a triage playbook for SOC analysts and detection engineers.
The repository contains a functional exploit for CVE-2026-31431, which involves disabling the 'algif_aead' kernel module via modprobe configuration to prevent exploitation. The script checks for required commands, ensures root privileges, and applies a workaround to mitigate the vulnerability.
This repository contains functional exploit code for CVE-2026-31431, a use-after-free (UAF) vulnerability in the AF_ALG AEAD splice implementation in the Linux kernel. The exploit replaces the page cache of /usr/bin/su with a malicious ELF payload to achieve privilege escalation.
This repository contains a functional Rust exploit for CVE-2026-31431, leveraging a Linux kernel vulnerability in the AF_ALG socket interface combined with splice() to achieve local privilege escalation. The exploit targets /usr/bin/su and demonstrates a 732-byte payload to gain root access.
This repository provides a detailed technical analysis and detection guidance for CVE-2026-31431, a Linux kernel local privilege escalation vulnerability in the `algif_aead` / `authencesn` cryptographic template. It includes YARA rules, auditd rules, and mitigation steps but does not contain functional exploit code.
The repository contains a functional exploit for CVE-2026-31431, leveraging a Linux kernel vulnerability to achieve local privilege escalation (LPE). The exploit manipulates socket options and file descriptors to overwrite the `/usr/bin/su` binary with a malicious payload, granting root access.
This repository contains a functional exploit for CVE-2026-31431, leveraging a vulnerability in the Linux kernel's AF_ALG socket implementation to achieve local privilege escalation (LPE). The exploit manipulates the `splice` and `sendmsg` system calls to corrupt kernel memory and execute shellcode, ultimately spawning a root shell via `su`.
This repository contains a GitHub Actions workflow that tests for CVE-2026-31431 by executing a remote payload to achieve root privilege escalation. The workflow confirms successful exploitation by checking for root UID in the output.
The repository contains functional exploit code (exp.c and exp.py) for CVE-2026-31431, a Linux kernel privilege escalation vulnerability in the authencesn cryptographic template. The exploit leverages a logic bug to perform controlled 4-byte writes into the page cache of any readable file, enabling local privilege escalation.
This repository contains a functional proof-of-concept exploit for CVE-2026-31431, leveraging the Linux kernel's AF_ALG socket interface to manipulate page cache and achieve local privilege escalation. The exploit uses crafted cryptographic operations to overwrite a target SUID binary (default: /usr/bin/su) with a malicious ELF payload, resulting in arbitrary code execution with elevated privileges.
This repository contains a functional local privilege escalation exploit for CVE-2026-31431, targeting a Linux kernel vulnerability in the AF_ALG crypto subsystem. The exploit uses splice operations and AF_ALG sockets to corrupt kernel memory and patch the /usr/bin/su binary in memory, allowing root access without credentials.
This repository contains a minimal 801-byte Linux x86_64 no-libc ELF proof-of-concept for CVE-2026-31431, leveraging a Copy Fail vulnerability in the Linux kernel's AF_ALG socket implementation. The exploit uses crafted AEAD operations to trigger the vulnerability and execute arbitrary code.
This repository contains a functional Python exploit for CVE-2026-31431, leveraging AF_ALG and splice to overwrite the page cache of setuid-root binaries, achieving local privilege escalation (LPE) on Linux systems. The exploit is well-documented, supports multiple architectures, and includes diagnostic and scanning capabilities.
This repository contains functional exploit code for CVE-2026-31431, a Linux local privilege escalation vulnerability in the kernel crypto API via AF_ALG. The exploit manipulates page cache data of SUID binaries to gain root access.
The repository contains a functional Python exploit for CVE-2026-31431, leveraging a socket-based attack to achieve local privilege escalation (LPE) by manipulating file descriptors and splicing data to overwrite the `/usr/bin/su` binary with a malicious payload.
This Go-based exploit targets CVE-2026-31431 by leveraging AF_ALG socket manipulation and splice operations to achieve local privilege escalation. It crafts malicious control messages and uses a pipe to trigger the vulnerability in the Linux kernel's crypto subsystem.
The repository contains minimal content with no actual exploit code, only a vague README with a generic command sequence that does not provide technical details about the vulnerability. The commands listed are nonsensical and do not align with typical exploit execution.
This repository contains a functional exploit for CVE-2026-31431, a page cache corruption vulnerability in the Linux kernel's AF_ALG implementation. The exploit is a 587-byte static ELF binary that leverages AEAD operations to overwrite the entry point of a setuid binary (e.g., /bin/su) with shellcode, achieving local privilege escalation.
This repository contains a functional exploit PoC that combines CVE-2026-46333 (file descriptor theft) and CVE-2026-31431 (CopyFail) to modify any user's password in /etc/shadow without requiring root privileges. The exploit leverages a stolen file descriptor from 'chage' and uses CopyFail to overwrite bytes in the shadow file.
The repository contains a functional exploit for CVE-2026-31431, targeting a Linux kernel vulnerability in the AF_ALG socket interface. The exploit manipulates Bluetooth L2CAP sockets and uses splice operations to achieve privilege escalation by executing '/usr/bin/su'.
The repository contains a functional Python-based exploit for CVE-2026-31431, a Linux kernel LPE vulnerability leveraging a logic flaw in the crypto API (AF_ALG) combined with splice() to overwrite memory pages of SUID binaries like /usr/bin/su, achieving root privileges without disk modifications.
This Metasploit module exploits CVE-2026-31431, a Linux kernel logic flaw in the authencesn AEAD template via AF_ALG socket and splice(), enabling unprivileged local users to perform a controlled 4-byte write into the page cache of any readable file, leading to local privilege escalation.
References (86)
Scores
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H