Skip to main content
CVE Radar
CRITICALpublic exploit

CVE-2026-31402

CVE-2026-31402 — nfsd: fix heap overflow in NFSv4.0 LOCK replay cache

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…

Published Updated Sources: cvelistV5, Linux

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Public exploit

exploit code published, no use observed

EPSS

2%

chance of exploitation in 30 days

Affects

Linux

24 products listed

CVSS base

9.8

CRITICAL

CISA SSVC assessment

Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.

CISA

Exploitation

None

none · proof-of-concept · active

Automatable

Yes

can an attacker script all four kill-chain steps

Technical impact

Total

partial · total control of the vulnerable component

Affected scope

The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.

Products (24)

linuxred hat enterprise linux 10red hat enterprise linux 10 0 extended update supportred hat enterprise linux 6 extended lifecycle support extensionred hat enterprise linux 7 extended lifecycle supportred hat enterprise linux 8red hat enterprise linux 8 4 advanced mission critical update supportred hat enterprise linux 8 4 extended update support long life add onred hat enterprise linux 8 6 advanced mission critical update supportred hat enterprise linux 8 6 telecommunications update servicered hat enterprise linux 8 6 update services for sap solutionsred hat enterprise linux 8 8 telecommunications update servicered hat enterprise linux 8 8 update services for sap solutionsred hat enterprise linux 9red hat enterprise linux 9 0 update services for sap solutionsred hat enterprise linux 9 2 update services for sap solutionsred hat enterprise linux 9 4 extended update supportred hat enterprise linux 9 4 update services for sap solutionsred hat enterprise linux 9 6 extended update supportsimatic s7 1500 cpu 1518 4 pn dp mfp 6es7518 4ax00 1ab0simatic s7 1500 cpu 1518 4 pn dp mfp 6es7518 4ax00 1ac0simatic s7 1500 cpu 1518f 4 pn dp mfp 6es7518 4fx00 1ab0simatic s7 1500 cpu 1518f 4 pn dp mfp 6es7518 4fx00 1ac0siplus s7 1500 cpu 1518 4 pn dp mfp 6ag1518 4ax00 4ac0

Every base score collected

Sources score independently and disagree; each row says who scored it and under which version.

Every CVSS base score collected, by source and version
ScoreVersionSeverityExpl.ImpactSource
9.8CVSS 3.1CRITICALn/an/acvelistV5

Weakness & attack patterns

  • CWE-787
  • CWE-122

Public exploit

Capability, not use: code existing is a different claim from anyone running it.

Indexed by

poc in github

References

25 on the record

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

  • Linuxevery CVE for this vendor
  • Red Hatevery CVE for this vendor
  • Siemensevery CVE for this vendor
  • CWE-787other pages naming this weakness

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.