Vulnerability in Amazon Linux

CVE-2026-31431

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.981, 99.9th percentile (scored ); up from 0.034 30 days earlier. About EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-31431: rose from 0.034 to 0.981.

EPSS over last 30 days · oldest: 0.034 · newest: 0.981 · change: +0.947

Affected products

Weakness classification (CWE)

CISA KEV (Known Exploited Vulnerabilities)

This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.

BOD 22-01 due date: .

Required action: "Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Browse the full CISA KEV catalog with PoC counts, Metasploit modules and EPSS.

Public exploits and proof-of-concept code

Metasploit modules

375 public repositories with exploit or proof-of-concept code for this CVE:

  • theori-io/copy-fail-CVE-2026-31431 (4090 stars, last pushed 2026-04-29): Copy Fail (CVE-2026-31431): 9-year-old Linux kernel LPE found by Theori's Xint Code
  • tgies/copy-fail-c (449 stars, last pushed 2026-07-17): Cross-platform C port of the Copy Fail Linux LPE (CVE-2026-31431). Disclosed 2026-04-29 by Theori / Xint.
  • badsectorlabs/copyfail-go (358 stars, last pushed 2026-05-01): A Go implementation of copyfail (CVE-2026-31431)
  • Percivalll/Copy-Fail-CVE-2026-31431-Kubernetes-PoC (195 stars, last pushed 2026-05-07): PoC: fully unprivileged container escape to node-level code execution on Kubernetes via CVE-2026-31431 page-cache corruption + shared image layers. Validated on Alibaba Cloud ACK, Amazon EKS and Goog…
  • Sndav/CVE-2026-31431-Advanced-Exploit (116 stars, last pushed 2026-04-30): CVE-2026-31431 纯文件利用
  • painoob/Copy-Fail-Exploit-CVE-2026-31431 (111 stars, last pushed 2026-04-29): Most Linux LPEs need a race window or a kernel-specific offset. Copy Fail is a straight-line logic flaw, it needs neither. The same 732-byte Python script (or .c elf) roots every Linux distribution s…
  • sgkdev/page_inject (77 stars, last pushed 2026-05-06): CVE-2026-31431-killed page-cache exploit — code exec into containers sharing the same image layer
  • adysec/cve-2026-31431 (68 stars, last pushed 2026-04-30): CVE-2026-31431: Copy Fail | A minimal exploit for Linux authencesn + AF_ALG + splice() page cache write.
  • Crihexe/copy-fail-tiny-elf-CVE-2026-31431 (64 stars, last pushed 2026-05-03): Minimal no-libc Linux x86_64 ELF PoC build for Copy Fail (CVE-2026-31431)
  • shadowabi/CVE-2026-31431-CopyFail-Universal-LPE (59 stars, last pushed 2026-05-06): CVE-2026-31431 Copy Fail — Universal LPE exploit. Dynamic ELF offset + full-binary overwrite, Python 2/3 compatible with ctypes splice fallback

365 more are listed on the interactive page.

References