Home / Linux / Linux / CVE-2026-31402
CVE-2026-31402: is it exploited, and which versions of Linux are affected and fixed?
CVE-2026-31402 is an out-of-bounds write (memory corruption) vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: Linux from 2.6.12 until the fixed versions (CVE record by Linux). Fixed in 5.10.253, 5.15.210, 6.1.167, 6.6.130 and 2 more (CVE record by Linux). Severity: Critical (9.8, CVSS 3.1, from Linux).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 28, 2026, 17:22 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-31402?
In the Linux kernel, the following vulnerability has been resolved: nfsd: fix heap overflow in NFSv4.0 LOCK replay cache The NFSv4.0 replay cache uses a fixed 112-byte inline buffer (rp_ibuf[NFSD4_REPLAY_ISIZE]) to store encoded operation responses. This size was calculated based on OPEN responses and does not account for LOCK denied responses, which include the conflicting lock owner as a variable-length field up to 1024 bytes (NFS4_OPAQUE_LIMIT). When a LOCK operation is denied due to a conflict with an existing lock that has a large owner, nfsd4_encode_operation() copies the full encoded response into the undersized replay buffer via read_bytes_from_xdr_buf() with no bounds check. This results in a slab-out-of-bounds write of up to 944 bytes past the end of the buffer, corrupting adjacent heap memory. This can be triggered remotely by an unauthenticated attacker with two cooperating NFSv4.0 clients: one sets a lock with a large owner string, then the other requests a conflicting lock to provoke the denial. We could fix this by increasing NFSD4_REPLAY_ISIZE to allow for a full opaque, but that would increase the size of every stateowner, when most lockowners are not that large. Instead, fix this by checking the encoded response length against NFSD4_REPLAY_ISIZE before copying into the replay buffer. If the response is too large, set rp_buflen to 0 to skip caching the replay payload. The status is still cached, and the client already received the correct response on the original request.
From the CVE record by Linux, last updated November 10, 2026, 12:43 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | not stated | |
| Linux | Linux | from 2.6.12 until the fixed versions | 5.10.253, 5.15.210, 6.1.167, 6.6.130, 6.12.78, 6.18.20, 6.19.10, 7.0 |
As the CVE record by Linux states it, last updated November 10, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | from 2.6.12.1 before 5.10.253 | operating system |
| linux | linux kernel | from 5.11 before 6.1.167 | operating system |
| linux | linux kernel | from 6.2 before 6.6.130 | operating system |
| linux | linux kernel | from 6.7 before 6.12.78 | operating system |
| linux | linux kernel | from 6.13 before 6.18.20 | operating system |
| linux | linux kernel | from 6.19 before 6.19.10 | operating system |
| linux | linux kernel | 2.6.12 | operating system |
| linux | linux kernel | 7.0 | operating system |
NVD analysis (status Modified), last modified November 10, 2026, 13:18 UTC.
How severe is CVE-2026-31402?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Linux |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-31402 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, October 16, 2026)
- EPSS
- 1.57% probability of exploitation activity in the next 30 days, percentile 76.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-787 Out-of-bounds Write
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/f9fcb4441f6c02bb20c2eb340101e27dfe23607c
- https://git.kernel.org/stable/c/2665887a69437a8a4f552f69509eecfb73d4aa19
- https://git.kernel.org/stable/c/c9452c0797c95cf2378170df96cf4f4b3bca7eff
- https://git.kernel.org/stable/c/8afb437ea1f70cacb4bbdf11771fb5c4d720b965
- https://git.kernel.org/stable/c/dad0c3c0a8e5d1d6eb0fc455694ce3e25e6c57d0
- https://git.kernel.org/stable/c/0f0e2a54a31a7f9ad2915db99156114872317388
- https://git.kernel.org/stable/c/ae8498337dfdfda71bdd0b807c9a23a126011d76
- https://git.kernel.org/stable/c/5133b61aaf437e5f25b1b396b14242a6bb0508e2
- https://access.redhat.com/security/cve/CVE-2026-31402 vdb-entry, x_refsource_REDHAT
- RHBZ#2454844 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31402.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:14823 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:14925 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:14869 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:15883 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:13566 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:19569 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:13936 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:13734 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:10108 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:11313 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:13565 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:19568 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:13577 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36530 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:14165 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:13664 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:13681 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36531 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36532 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36533 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36534 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:13578 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:14137 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:14301 vendor-advisory, x_refsource_REDHAT
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
When was it published, and where is the official record?
- Reserved
- March 9, 2026
- Published
- April 3, 2026, 15:16 UTC
- CVE record updated
- November 10, 2026, 12:43 UTC by Linux
- NVD
- Modified, last modified November 10, 2026, 13:18 UTC
- Last checked
- CVE list November 28, 2026, 17:22 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2026-31402
Is CVE-2026-31402 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 1.57% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Linux are affected by CVE-2026-31402?
Linux from 2.6.12 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2026-31402?
5.10.253, 5.15.210, 6.1.167, 6.6.130, 6.12.78 and 6.18.20, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-31402?
Critical (9.8, CVSS 3.1, from Linux). The severity table above shows each score with its source.
Where is the official record of CVE-2026-31402?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.