CVE-2026-31402

CRITICALPre-NVD 9.89.8
EchelonGraph scoreMEDIUM confidence

Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2026-04-03. NVD baseline CVSS 9.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, nvd
9.8
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 0%CVSS: 9.8Exploit: NoneExposed: 0

A fix is available — apply it.

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.

CVSS v3
9.8
EG Score
9.8(medium)
EPSS
38.8%
KEV
Not listed

Published

April 3, 2026

Last Modified

July 15, 2026

Advisory Details (10)

Auto-updated Jul 9, 2026
Patch available. Sources: redhat.
redhat Patch Available

Affected: Red Hat Enterprise Linux 9.6 Extended Update Support.

https://access.redhat.com/errata/RHSA-2026:11313
redhat Patch Available

Affected: Red Hat Enterprise Linux 9.4 Extended Update Support.

https://access.redhat.com/errata/RHSA-2026:10108
generic

nfsd: fix heap overflow in NFSv4.0 LOCK replay cache - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/f9fcb4441f6c02bb20c2eb340101e27dfe23607c
generic

nfsd: fix heap overflow in NFSv4.0 LOCK replay cache - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/dad0c3c0a8e5d1d6eb0fc455694ce3e25e6c57d0
generic

nfsd: fix heap overflow in NFSv4.0 LOCK replay cache - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/c9452c0797c95cf2378170df96cf4f4b3bca7eff
generic

nfsd: fix heap overflow in NFSv4.0 LOCK replay cache - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/ae8498337dfdfda71bdd0b807c9a23a126011d76
generic

nfsd: fix heap overflow in NFSv4.0 LOCK replay cache - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/8afb437ea1f70cacb4bbdf11771fb5c4d720b965
generic

nfsd: fix heap overflow in NFSv4.0 LOCK replay cache - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/5133b61aaf437e5f25b1b396b14242a6bb0508e2
generic

nfsd: fix heap overflow in NFSv4.0 LOCK replay cache - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/2665887a69437a8a4f552f69509eecfb73d4aa19
generic

nfsd: fix heap overflow in NFSv4.0 LOCK replay cache - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/0f0e2a54a31a7f9ad2915db99156114872317388

Patch Availability(19)

Vendor / EcosystemFixed in / PatchReleasedSource
redhatkernel-0:6.12.0-211.16.1.el10_22026-05-20redhat
redhatkernel-0:5.14.0-687.10.1.el9_82026-05-20redhat
redhatkernel-0:6.12.0-55.72.1.el10_02026-05-11redhat
redhatkernel-0:2.6.32-754.60.1.el62026-05-07redhat
redhatkernel-rt-0:3.10.0-1160.149.1.rt56.1301.el72026-05-07redhat
redhatkernel-0:3.10.0-1160.149.1.el72026-05-07redhat
redhatkernel-0:5.14.0-70.178.1.el9_02026-05-06redhat
redhatkernel-rt-0:5.14.0-70.178.1.rt21.250.el9_02026-05-06redhat
redhatkernel-0:4.18.0-305.190.1.el8_42026-05-06redhat
redhatkernel-rt-0:5.14.0-284.169.1.rt14.454.el9_22026-05-06redhat
redhatkernel-0:4.18.0-553.123.1.el8_102026-05-05redhat
redhatkernel-0:4.18.0-477.139.1.el8_82026-05-05redhat
redhatkernel-0:5.14.0-284.169.1.el9_22026-05-05redhat
redhatkernel-rt-0:4.18.0-553.123.1.rt7.464.el8_102026-05-05redhat
redhatkernel-0:4.18.0-372.190.1.el8_62026-05-05redhat
redhatkernel-0:5.14.0-611.54.1.el9_72026-05-04redhat
redhatkernel-0:6.12.0-124.55.1.el10_12026-05-04redhat
redhatkernel-0:5.14.0-570.110.1.el9_62026-04-28redhat
redhatkernel-0:5.14.0-427.121.1.el9_42026-04-23redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(2)

Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.

Data Freshness Timeline

(refreshed 10× in last 7d / 43× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 176 total refreshes for this CVE.

  1. 2026-07-15 16:57 UTCEPSS rescore
  2. 2026-07-15 16:57 UTCEPSS rescore
  3. 2026-07-15 02:00 UTCEPSS rescore
  4. 2026-07-15 02:00 UTCEPSS rescore
  5. 2026-07-13 22:30 UTCEPSS rescore
  6. 2026-07-13 06:13 UTCEPSS rescore
  7. 2026-07-13 06:13 UTCEPSS rescore
  8. 2026-07-12 05:46 UTCEPSS rescore
  9. 2026-07-11 08:27 UTCEPSS rescore
  10. 2026-07-09 19:10 UTCEPSS rescore
  11. 2026-07-08 15:15 UTCEPSS rescore
  12. 2026-07-07 13:46 UTCEPSS rescore
  13. 2026-07-06 16:27 UTCEPSS rescore
  14. 2026-07-06 16:27 UTCEPSS rescore
  15. 2026-07-06 02:23 UTCEPSS rescore
  16. 2026-07-06 02:23 UTCEPSS rescore
  17. 2026-07-05 02:30 UTCEPSS rescore
  18. 2026-07-04 06:31 UTCEPSS rescore
  19. 2026-07-01 15:06 UTCEPSS rescore
  20. 2026-06-30 23:22 UTCEPSS rescore
  21. 2026-06-29 14:06 UTCEPSS rescore
  22. 2026-06-29 14:06 UTCEPSS rescore
  23. 2026-06-28 14:07 UTCEPSS rescore
  24. 2026-06-28 14:07 UTCEPSS rescore
  25. 2026-06-28 04:56 UTCEPSS rescore
Show 75 more
  1. 2026-06-28 04:56 UTCEPSS rescore
  2. 2026-06-27 03:08 UTCEPSS rescore
  3. 2026-06-25 13:49 UTCEPSS rescore
  4. 2026-06-25 13:49 UTCEPSS rescore
  5. 2026-06-24 14:05 UTCEPSS rescore
  6. 2026-06-23 21:33 UTCEPSS rescore
  7. 2026-06-23 21:33 UTCEPSS rescore
  8. 2026-06-22 14:25 UTCEPSS rescore
  9. 2026-06-22 14:25 UTCEPSS rescore
  10. 2026-06-21 14:56 UTCEPSS rescore
  11. 2026-06-21 14:56 UTCEPSS rescore
  12. 2026-06-21 01:59 UTCEPSS rescore
  13. 2026-06-19 19:25 UTCEPSS rescore
  14. 2026-06-19 19:25 UTCEPSS rescore
  15. 2026-06-18 17:52 UTCEPSS rescore
  16. 2026-06-18 17:52 UTCEPSS rescore
  17. 2026-06-17 17:53 UTCEPSS rescore
  18. 2026-06-16 17:52 UTCEPSS rescore
  19. 2026-06-15 17:49 UTCEPSS rescore
  20. 2026-06-14 23:18 UTCEPSS rescore
  21. 2026-06-13 23:00 UTCEPSS rescore
  22. 2026-06-12 23:12 UTCEPSS rescore
  23. 2026-06-12 23:12 UTCEPSS rescore
  24. 2026-06-12 06:19 UTCEG score recompute
  25. 2026-06-12 06:19 UTCVendor advisory
  26. 2026-06-12 06:19 UTCGHSA enrichment
  27. 2026-06-12 02:09 UTCEG score recompute
  28. 2026-06-12 02:09 UTCVendor advisory
  29. 2026-06-12 02:09 UTCGHSA enrichment
  30. 2026-06-11 21:59 UTCEG score recompute
  31. 2026-06-11 21:59 UTCVendor advisory
  32. 2026-06-11 21:59 UTCGHSA enrichment
  33. 2026-06-11 14:00 UTCEPSS rescore
  34. 2026-06-10 22:18 UTCEPSS rescore
  35. 2026-06-10 22:07 UTCEG score recompute
  36. 2026-06-10 22:07 UTCVendor advisory
  37. 2026-06-10 22:07 UTCGHSA enrichment
  38. 2026-06-10 17:57 UTCEG score recompute
  39. 2026-06-10 17:57 UTCVendor advisory
  40. 2026-06-10 17:57 UTCGHSA enrichment
  41. 2026-06-10 13:46 UTCEG score recompute
  42. 2026-06-10 13:46 UTCVendor advisory
  43. 2026-06-10 13:46 UTCGHSA enrichment
  44. 2026-06-10 13:22 UTCEPSS rescore
  45. 2026-06-10 09:36 UTCEG score recompute
  46. 2026-06-10 09:36 UTCVendor advisory
  47. 2026-06-10 09:36 UTCGHSA enrichment
  48. 2026-06-10 05:26 UTCEG score recompute
  49. 2026-06-10 05:26 UTCVendor advisory
  50. 2026-06-10 05:26 UTCGHSA enrichment
  51. 2026-06-10 01:16 UTCEG score recompute
  52. 2026-06-10 01:16 UTCVendor advisory
  53. 2026-06-10 01:16 UTCGHSA enrichment
  54. 2026-06-09 18:39 UTCEG score recompute
  55. 2026-06-09 18:39 UTCVendor advisory
  56. 2026-06-09 18:39 UTCGHSA enrichment
  57. 2026-06-09 14:29 UTCEG score recompute
  58. 2026-06-09 14:29 UTCVendor advisory
  59. 2026-06-09 14:28 UTCGHSA enrichment
  60. 2026-06-08 14:17 UTCEPSS rescore
  61. 2026-06-08 14:17 UTCEPSS rescore
  62. 2026-06-08 12:32 UTCEG score recompute
  63. 2026-06-08 12:32 UTCVendor advisory
  64. 2026-06-08 12:31 UTCGHSA enrichment
  65. 2026-06-08 07:45 UTCEG score recompute
  66. 2026-06-08 07:45 UTCVendor advisory
  67. 2026-06-08 07:45 UTCGHSA enrichment
  68. 2026-06-08 03:35 UTCEG score recompute
  69. 2026-06-08 03:35 UTCVendor advisory
  70. 2026-06-08 03:35 UTCGHSA enrichment
  71. 2026-06-07 23:23 UTCEG score recompute
  72. 2026-06-07 23:23 UTCVendor advisory
  73. 2026-06-07 23:23 UTCGHSA enrichment
  74. 2026-06-07 19:12 UTCEG score recompute
  75. 2026-06-07 19:12 UTCVendor advisory

Frequently asked(5)

What is CVE-2026-31402?
CVE-2026-31402 is a critical vulnerability published on April 3, 2026. 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 (rpibuf[NFSD4REPLAY_ISIZE]) to store encoded operation responses. This size was calculated based on OPEN responses…
When was CVE-2026-31402 disclosed?
CVE-2026-31402 was first published in the National Vulnerability Database on April 3, 2026, with the most recent update on July 15, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-31402 actively exploited?
CVE-2026-31402 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 38.8% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-31402?
CVE-2026-31402 has a CVSS v3 base score of 9.8 (NVD).
How do I remediate CVE-2026-31402?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-31402, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-31402

Explore →

Is Your Infrastructure Affected by CVE-2026-31402?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.