CVE-2026-31431: Copy Fail
- Vendors
- Amazon Web ServicesSuseArista NetworksDebian ProjectRed HatLinuxNixosOpensuse
Copy Fail (CVE-2026-31431) is a local privilege-escalation vulnerability in the Linux kernel's algif_aead authenticated-encryption interface, accessible through AF_ALG sockets. Incorrect in-place processing involving different source and destination mappings allows an unprivileged process to modify shared page-cache contents. Exploitation permits a controlled four-byte write into the cached contents of a readable file, including a setuid executable, enabling escalation to root without requiring permission to write the underlying file. The vulnerable behavior dates to 2017. Because containers share the host kernel and page cache, exploitation can also undermine container isolation under suitable conditions. The kernel fix restores out-of-place cryptographic processing while retaining direct copying of associated data.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise host confidentiality, integrity, and availability through root privilege escalation. An attacker can alter protected executable contents in memory, access credentials and sensitive data, interfere with applications, and disable security controls. In containerized environments, page-cache corruption may affect binaries used by the host or privileged workloads, potentially enabling container escape and Kubernetes node takeover. Access to node secrets, cloud credentials, other workloads, and downstream resources depends on the compromised node's permissions and connectivity. Public exploits and exploitation in the wild have been reported.
Mitigation
If you can’t patch tonight, do this now.
If patching must be delayed, disable the algif_aead kernel module and prevent its reloading using the platform vendor's supported procedure. Where applicable, prevent initialization with the kernel argument initcall_blacklist=algif_aead_init. For container workloads, enforce a seccomp profile denying AF_ALG socket creation; Docker Engine 29.4.3 includes default security-profile changes that reduce exposure but do not replace the kernel fix. Restrict local shell access, arbitrary code execution, and deployment of untrusted workloads. Monitor affected systems while updates are deployed.
Remediation
Patch, then assume compromise.
Install the Linux distribution or appliance vendor's kernel update explicitly addressing CVE-2026-31431, reboot as required, and verify that the fixed kernel is running. For Kubernetes and cloud fleets, update node images and replace or roll affected nodes rather than only updating workload images. The upstream correction reverts algif_aead to out-of-place processing. Talos fixes are available in v1.12.7 and v1.13.0 or later; the upstream fix is included in Linux 6.18.22. Google Container-Optimized OS affected 6.12 kernel packages should be updated to 19216.220.180 or later. Use the applicable vendor advisory to select fixed builds because distributions backport patches and appliance releases differ.
Exploits
225 exploits validated by Mallory's analysis. Hidden: 147 rejected by Mallory's analysis as not a working exploit; 22 not yet analyzed, such as Exploit-DB entries; 1 not loaded here. Showing the 25 most capable, earliest first.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-31431 exploited in the wild?
- Yes. As of Nov 19, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on May 1, 2026.
- Is there a public exploit for CVE-2026-31431?
- Yes. Mallory tracks 225 public exploits or proofs of concept for CVE-2026-31431, the earliest disclosed Apr 29, 2026.
- Is there a patch for CVE-2026-31431?
- Install the Linux distribution or appliance vendor's kernel update explicitly addressing CVE-2026-31431, reboot as required, and verify that the fixed kernel is running. For Kubernetes and cloud fleets, update node images and replace or roll affected nodes rather than only updating workload images.
- What products are affected by CVE-2026-31431?
- Linux Kernel, Amazon Web Services Amazon Linux, Suse Basesystem Module, Suse Caas Platform, Arista Networks Cloudvision Agni, and at least 46 more.
- How severe is CVE-2026-31431?
- CVE-2026-31431 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 98.1% (100th percentile) as of Nov 19, 2026.
Recent activity
1,668 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.