CopyFail, also written Copy Fail, is CVE-2026-31431 in the Linux kernel cryptographic subsystem. An unprivileged local process can exploit the authencesn and AF_ALG path to modify cached contents of a readable file and potentially gain root privileges.
The flaw involves an in-place cryptographic optimization and shared file-backed pages supplied through splice(). A write intended for cryptographic processing can reach the file page cache. A privileged program may subsequently execute the modified in-memory contents even though the file on disk has not changed.
This is a local privilege-escalation vulnerability, not an independent remote-entry vulnerability. Shared Linux hosts, build workers and container platforms deserve priority because untrusted workloads may share the vulnerable host kernel. Actual exposure depends on the kernel patch level, enabled cryptographic functionality and the available system-call interfaces.
Theori/Xint published the branded research and proof of concept on April 29, 2026, after reporting the issue on March 23. The upstream fix removes the unsafe algif_aead optimization. The earlier CVE publication date and later distribution advisory dates describe different steps in the disclosure process.