CVE-2026-31431, called "Copy Fail", is a Linux kernel flaw in the algif_aead crypto socket interface that lets an unprivileged local user modify the cached copy of a readable file, such as a setuid program, and become root. CISA lists it as exploited. Fixed stable kernels include 6.1.170, 6.6.137 and 6.12.85, and Siemens ships fixes for several industrial HMI and edge devices.
Vulnerability summary
CVSS base score
N/A
No NVD score published as of
EPSS score (FIRST)
100.0%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2026-31431 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Linux kernel (crypto/algif_aead.c, AF_ALG) | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.14 to before 5.10.254, 5.11 to before 5.15.204, 5.16 to before 6.1.170, 6.2 to before 6.6.137, 6.7 to before 6.12.85, 6.13 to before 6.18.22, 6.19 to before 6.19.12, and 7.0-rc1 to rc6 (NVD, CVE record); fixed in 7.0 by a664bf3d603d |
| Siemens SIMATIC HMI Unified Comfort, Unified Basic and Comfort Pro MTP panels, SIPLUS HMI variants | — | Before V21.2.1; update to V21 Update 2 SR1 or later (Siemens SSA-328642, as of 2026-11-25) |
| Siemens SIMATIC CN 4100 | — | Before V6.0; update to V6.0 or later (Siemens SSA-328642) |
| Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP and SIPLUS variant (GNU/Linux subsystem) | — | V3.1.6; update to V3.1.7 or later (Siemens SSA-019113). The V3.1.5 subsystem is listed with no fix in SSA-082556 |
| Siemens SIMATIC IoT2050 Advanced, SIMATIC IPC Industrial Edge Device OS, SIMATIC AX Runtime Core Linux, SIMATIC S7-1500 TM MFP | — | No fix available; restrict shell access to trusted personnel and run only trusted applications (Siemens SSA-328642 and SSA-265688, as of 2026-11-25) |
What does this mean for affected devices?
The kernel CNA published CVE-2026-31431 on 2026-04-22 under the fix title "crypto: algif_aead - Revert to operating out-of-place": the change "mostly reverts commit 72548b093ee3", because operating in place brings no benefit "since the source and destination come from different mappings." CERT/CC's VU#260001 explains the impact: through the AF_ALG interface an unprivileged local user can make a small controlled write into the page cache of any readable file, the page is never written back to disk so file integrity checks still pass, and changing a cached setuid binary gives root. The flaw was found by Taeyang Lee of Theori and disclosed publicly on 2026-04-29 with a proof of concept.
NVD has no Primary CVSS score for CVE-2026-31431 as of 2026-11-25. Two Secondary entries give CVSS v3.1 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H): one from the kernel CNA and one from Red Hat. CISA ADP classifies it as CWE-669, incorrect resource transfer between spheres, and Red Hat as CWE-1288; NVD records no CWE of its own (NVD, CVE record).
Which kernels are affected?
The CVE record lists kernels from 4.14, where commit 72548b093ee3 arrived, as affected, and names the fixed stable releases 5.10.254, 5.15.204, 6.1.170, 6.6.137, 6.12.85, 6.18.22 and 6.19.12, with 7.0 fixed by Herbert Xu's commit a664bf3d603d. Debian's security tracker lists 5.10.251-3 for bullseye (DLA-4560-1), 6.1.170-1 for bookworm (DSA-6243-1) and 6.12.85-1 for trixie (DSA-6238-1). Where a kernel cannot be updated, CERT/CC's workaround is to block the algif_aead module, or to stop it initialising with initcall_blacklist=algif_aead_init when it is built in; both can break applications that use AF_ALG.
Which industrial devices are affected?
Siemens ProductCERT's SSA-328642, published 2026-09-08, lists "Copy Fail" in SIMATIC HMI Unified Comfort, Unified Basic and Comfort Pro MTP panels and their SIPLUS variants before V21.2.1 (fix: V21 Update 2 SR1 or later) and SIMATIC CN 4100 before V6.0 (fix: V6.0). For SIMATIC IoT2050 Advanced, SIMATIC IPC Industrial Edge Device OS, SIMATIC AX Runtime Core Linux and SIMATIC S7-1500 TM MFP, Siemens lists no fix and advises limiting shell access to trusted personnel and only building and running applications from trusted sources. SSA-019113 fixes the GNU/Linux subsystem of the S7-1500 CPU 1518(F)-4 PN/DP MFP in V3.1.7. Linux kernel CVEs on embedded devices explains how to check other firmware for the fixed kernel. Earlier exploited Linux bugs that also wrote to the page cache are CVE-2022-0847 (Dirty Pipe) and CVE-2016-5195 (Dirty COW).
Is CVE-2026-31431 exploited?
Yes. CISA added it to the KEV catalog on 2026-05-01 as "Linux Kernel Incorrect Resource Transfer Between Spheres Vulnerability", with a due date of 2026-05-15 and the required action to apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. Known ransomware campaign use is listed as Unknown. It is still listed as of 2026-11-25 in catalog version 2026.11.24 (CISA KEV). FIRST EPSS gives 0.99999, the 99.996th percentile, in the 2026-11-24 dataset (FIRST EPSS); KEV and EPSS prioritization covers how to rank a bug that scores high on both.
Evidence
- NVD (read 2026-11-25): status Analyzed, published 2026-04-22, CNA kernel.org; algif_aead revert to out-of-place; no NVD Primary CVSS metric; Secondary CVSS v3.1 7.8 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H from kernel.org and from Red Hat; CWE-669 (CISA ADP), CWE-1288 (Red Hat); CPE linux_kernel 4.14-<5.10.254, 5.11-<5.15.204, 5.16-<6.1.170, 6.2-<6.6.137, 6.7-<6.12.85, 6.13-<6.18.22, 6.19-<6.19.12, 7.0-rc1..rc6; references Siemens SSA-019113, SSA-082556, SSA-265688, SSA-328642 and CERT/CC VU#260001. — NVD
- CVE record: PUBLISHED, CNA Linux, published 2026-04-22; CNA CVSS v3.1 7.8; affected from 4.14 (commit 72548b093ee3); unaffected 5.10.254, 5.15.204, 6.1.170, 6.6.137, 6.12.85, 6.18.22, 6.19.12, 7.0. — CVE.org
- CERT/CC VU#260001: "Copy Fail", publicly disclosed 2026-04-29; unprivileged local user can perform a controlled write into the page cache of any readable file, page not marked dirty, modify setuid binary in memory to gain root; public PoC; found by Taeyang Lee of Theori; solution: patch kernel or update distribution; workaround: disable algif_aead module or initcall_blacklist=algif_aead_init, may impact AF_ALG users. — CERT/CC
- Commit a664bf3d603d (Herbert Xu, 2026-03-26) "crypto: algif_aead - Revert to operating out-of-place"; Fixes 72548b093ee3; Reported-by Taeyang Lee (Theori). — Linux kernel (GitHub mirror)
- Siemens SSA-328642 "Copy Fail" Vulnerability in Multiple Industrial Products (2026-09-08, rev 1): SIMATIC HMI Unified Comfort / Unified Basic / Comfort Pro MTP panels and SIPLUS HMI < V21.2.1: update to V21 Update 2 SR1 or later (SIPLUS HMI MTP700 Unified Basic: V21 SP2 Update 1); SIMATIC CN 4100 < V6.0: update to V6.0; no fix available for SIMATIC AX Runtime Core Linux variants, IoT2050 Advanced, IPC Industrial Edge Device OS, S7-1500 TM MFP; mitigations: limit shell access to trusted personnel, only build and run applications from trusted sources; CVSS v3.1 7.8. — Siemens ProductCERT
- Siemens SSA-019113 (rev 3, 2026-10-13): S7-1500 CPU 1518(F)-4 PN/DP MFP and SIPLUS variant GNU/Linux subsystem V3.1.6: update to V3.1.7 or later. SSA-082556 (rev 8): V3.1.5 subsystem, no fix. SSA-265688 (rev 14): S7-1500 TM MFP, no fix. — Siemens ProductCERT
- Debian tracker: bullseye 5.10.251-3 (DLA-4560-1), bookworm 6.1.170-1 (DSA-6243-1), trixie 6.12.85-1 (DSA-6238-1), unstable 6.19.12-1; upstream a664bf3d603d in 7.0-rc7. — Debian security tracker
- KEV catalog 2026.11.24: dateAdded 2026-05-01, due 2026-05-15, required action apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use if mitigations are unavailable; knownRansomwareCampaignUse Unknown; CWE-669. — CISA KEV
- EPSS 0.99999, percentile 0.99996, dataset 2026-11-24. — FIRST EPSS

Related advisories
Sources
- NVD
- CERT/CC VU#260001: Linux kernel algif_aead "Copy Fail" privilege escalation
- Siemens SSA-328642: "Copy Fail" Vulnerability in Multiple Industrial Products
- Siemens SSA-019113: GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.6
- Linux commit a664bf3d603d: crypto: algif_aead - Revert to operating out-of-place
- Debian security tracker CVE-2026-31431
- CVE.org record CVE-2026-31431 (CNA: Linux kernel)
- CISA KEV
- FIRST EPSS
Frequently asked questions
What CVSS score does CVE-2026-31431 have?
NVD has no Primary CVSS score as of 2026-11-25. The kernel CNA and Red Hat both score CVSS v3.1 7.8 for a local attacker with low privileges; the KEV listing is what qualifies it for urgent action (per NVD and CISA KEV).
Which Linux kernel versions fix CVE-2026-31431?
5.10.254, 5.15.204, 6.1.170, 6.6.137, 6.12.85, 6.18.22, 6.19.12 and 7.0 or later, which carry commit a664bf3d603d or its backport (per the CVE record and NVD).
Which Siemens products are affected by Copy Fail?
SIMATIC HMI Unified Comfort, Unified Basic and Comfort Pro panels (fixed in V21 Update 2 SR1), SIMATIC CN 4100 (fixed in V6.0) and the S7-1500 CPU 1518(F)-4 PN/DP MFP subsystem (fixed in V3.1.7). IoT2050 Advanced, Industrial Edge Device OS, AX Runtime Core Linux and S7-1500 TM MFP have no fix as of 2026-11-25 (per Siemens SSA-328642 and SSA-019113).
Is CVE-2026-31431 exploited in the wild?
Yes. CISA added it to KEV on 2026-05-01 and lists it as of 2026-11-25 in catalog version 2026.11.24, with ransomware use Unknown. FIRST EPSS gives 0.99999, the 99.996th percentile, in the 2026-11-24 dataset (per CISA KEV and FIRST EPSS).
Questions about this page?