CVE-2026-123042

nfs-ganesha: nfs-ganesha: NFSv4.1 cached-READ session-slot replay causes double-free and use-after-free read

Published n/a CVSS 3.1 · 8.1 High EPSS n/a KEV · Not listed
Description
A double-free and use-after-free vulnerability was found in NFS-Ganesha. When an NFSv4.1 COMPOUND request caches a READ reply in the session-slot replay cache, the READ data buffer is freed on first transmission but the cache retains a dangling pointer. A subsequent legal protocol replay re-sends the freed buffer contents to the client and frees the pointer again, resulting in remote heap information disclosure and a daemon crash.

Analysis

AI-generated

Technical impact

A double‑free and use‑after‑free flaw exists in NFS‑Ganesha when a READ reply is cached in the session‑slot replay cache for an NFSv4.1 COMPOUND request. The server frees the READ data buffer during the first transmission but retains a dangling pointer in the cache. When a legal protocol replay later re‑sends the data, the freed buffer contents are transmitted again and the dangling pointer is freed a second time, which can lead to remote heap information disclosure and a crash of the NFS‑Ganesha daemon, resulting in service interruption.

Affected Systems

The vulnerability affects all installations of NFS‑Ganesha that enable NFSv4.1 session‑slot replay caching. The specific product is NFS‑Ganesha; no version information is provided, so any deployed instance is potentially vulnerable.

Risk and Exploitability

The CVSS score of 8.1 indicates a high severity and the failure to appear in the CISA KEV catalog does not diminish the risk. Because the exploit requires an NFS client that can issue a replayable NFSv4.1 COMPOUND request against the vulnerable server, the attack vector is inferred to be remote over the NFS protocol. Without a publicly known exploit, the EPSS is not available, but the nature of the vulnerability—heap memory corruption that can disclose information and crash the daemon—suggests that a motivated adversary could achieve data leakage and denial of service if the server is reachable and the feature is enabled.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Identify all NFS‑Ganesha servers and determine whether NFSv4.1 session‑slot replay caching is enabled; disable the feature if possible until a fix is available.
  • Upgrade NFS‑Ganesha to the latest version once the vendor releases a patch that addresses the double‑free and use‑after‑free flaw.
  • Configure firewall rules or access controls to limit NFSv4.1 traffic to trusted hosts, and monitor server logs for any unexpected crashes or memory errors to detect exploitation attempts.

Generated by OpenCVE AI on November 5, 2026 at 14:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description A double-free and use-after-free vulnerability was found in NFS-Ganesha. When an NFSv4.1 COMPOUND request caches a READ reply in the session-slot replay cache, the READ data buffer is freed on first transmission but the cache retains a dangling pointer. A subsequent legal protocol replay re-sends the freed buffer contents to the client and frees the pointer again, resulting in remote heap information disclosure and a daemon crash.
Title nfs-ganesha: nfs-ganesha: NFSv4.1 cached-READ session-slot replay causes double-free and use-after-free read
Weaknesses CWE-415
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H'}

threat_severity

Important

Subscriptions

No data.

Weaknesses

Sources