CVE-2026-31402

CRITICALPre-NVD 9.89.8
EchelonGraph scoreMEDIUM confidence

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

Triggered by: GitHub Security Advisory CVSS
Sources: cna:linux, epss, ghsa
9.8EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 1%CVSS: 9.8Exploit: None knownExposed: 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)
EG Risk
49(Track)
EG Risk 49/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity98% × 45%
Exploitation0% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
1%
EPSS %ILE
59%
KEV
Not listed

Published

April 3, 2026

Last Modified

August 5, 2026

Advisory Details (10)

Auto-updated Aug 26, 2026
No patch confirmed yet.
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/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/0f0e2a54a31a7f9ad2915db99156114872317388
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/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/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/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/f9fcb4441f6c02bb20c2eb340101e27dfe23607c
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

Patch Availability(27)

Vendor / EcosystemFixed in / PatchReleasedSource
ubuntulinux-tools-lowlatency-hwe-20.04-edge (6.8.0-134.134.1) @ noble2026-07-26ubuntu
ubuntulinux-xilinx-zynqmp-tools-5.15.0-1074 (5.15.0-1074.78) @ jammy2026-07-26ubuntu
ubuntulinux-tools-raspi-nolpae (5.15.0.1105.103) @ jammy2026-07-26ubuntu
ubuntulinux-tools-fips-6.8 (6.8.0-134.134+fips1) @ noble2026-07-26ubuntu
ubuntulinux-virtual-hwe-16.04-edge (4.15.0.253.237) @ bionic2026-07-26ubuntu
ubuntulinux-tools-nvidia-tegra-rt-6.8 (6.8.0-1029.30) @ noble2026-07-26ubuntu
redhatkpatch-patch2026-07-08redhat
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-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:2.6.32-754.60.1.el62026-05-07redhat
redhatkernel-rt-0:5.14.0-284.169.1.rt14.454.el9_22026-05-06redhat
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-0:4.18.0-477.139.1.el8_82026-05-05redhat
redhatkernel-rt-0:4.18.0-553.123.1.rt7.464.el8_102026-05-05redhat
redhatkernel-0:5.14.0-284.169.1.el9_22026-05-05redhat
redhatkernel-0:4.18.0-553.123.1.el8_102026-05-05redhat
redhatkernel-0:4.18.0-372.190.1.el8_62026-05-05redhat
redhatkernel-0:6.12.0-124.55.1.el10_12026-05-04redhat
redhatkernel-0:5.14.0-611.54.1.el9_72026-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
linuxKernel @ 5.10.253osv

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.

Affected Packages

(5 across 4 ecosystems)
Debian:11(2)
PackageVulnerable rangeFixed inDependents
linux5.10.103-1 ... 5.10.92-2 (53 versions)5.10.257-1
linux-6.16.1.106-3~deb11u1 ... 6.1.164-1~deb11u1 (16 versions)6.1.170-1~deb11u1
Debian:12(1)
PackageVulnerable rangeFixed inDependents
linux6.1.106-1 ... 6.1.99-1 (48 versions)6.1.170-1
Debian:13(1)
PackageVulnerable rangeFixed inDependents
linux6.12.38-1 ... 6.12.85-1~bpo12+1 (17 versions)6.12.85-1
Debian:14(1)
PackageVulnerable rangeFixed inDependents
linux6.12.100-1 ... 6.19~rc8-1~exp1 (119 versions)6.19.10-1

Weakness Classification(1)

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

Additional Vendor Advisories

(5)

Data Freshness Timeline

(refreshed 7× in last 7d / 116× 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 294 total refreshes for this CVE.

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

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 August 5, 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 1% probability of exploitation in the next 30 days, which ranks it in the top 41.2% of all scored CVEs.
What is the CVSS score of CVE-2026-31402?
CVE-2026-31402 has a CVSS v4.0 base score of 9.8 (CNA self-assessment; NVD's own analysis pending).
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

See which npm, PyPI, Go, and Maven packages are affected by 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.