Description
U-Boot before 2026.07-rc2 contains a buffer overflow vulnerability in nfs_readlink_reply() (net/nfs-common.c) when CONFIG_CMD_NFS is enabled, allowing a malicious or compromised NFS server to overflow the 2048-byte nfs_path_buff buffer by returning multiple relative symlink targets that are appended without cumulative length validation. Attackers can send two or more READLINK responses containing relative symlink targets of approximately 1100 bytes each to corrupt adjacent BSS variables including nfs_server_ip, nfs_server_mount_port, nfs_server_port, nfs_our_port, nfs_state, and rpc_id, potentially achieving memory corruption and control over the NFS client state machine.
Published: 2026-07-08
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

U‑Boot releases before 2026.07‑rc2 contain a stack buffer overflow in the nfs_readlink_reply() function. When NFS support is enabled, an attacker can trick the bootloader into receiving multiple READLINK responses each containing large relative symlink targets. These targets are concatenated into a 2048‑byte buffer without cumulative length checks, overflow the buffer, and corrupt adjacent BSS variables such as nfs_server_ip, nfs_server_mount_port, nfs_server_port, nfs_our_port, nfs_state, and rpc_id. The result is memory corruption that can disrupt the NFS client state machine or alter the bootloader’s control flow, potentially leading to denial of service or unpredictable device behavior.

Affected Systems

All U‑Boot builds that include the CONFIG_CMD_NFS option and were released before 2026.07‑rc2 are affected. Devices that ship with a firmware image containing this configuration and have reachable NFS servers are vulnerable unless the firmware is updated to a patched release. Hardware vendors that rely on this version or earlier must verify that their images contain the fix before deployment.

Risk and Exploitability

The vulnerability receives a CVSS score of 8.8, signalling high severity. The EPSS score is below 1%, indicating a low probability of current exploitation. It is not listed in the CISA KEV catalog. The likely attack vector is remote TCP traffic from an NFS server that the device communicates with; no authentication is required in the protocol, so the threat is external. Upon delivery of crafted READLINK responses, the attacker can overwrite critical bootloader variables, thereby causing memory corruption that may lead to denial of service or give the attacker influence over the boot process.

Generated by OpenCVE AI on July 26, 2026 at 17:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Deploy the fixed U‑Boot release that addresses the overflow (or request a patch from the vendor).
  • If NFS functionality is not required, rebuild the bootloader after disabling CONFIG_CMD_NFS to remove the vulnerable code path.
  • Limit NFS access to trusted internal servers and enforce firewall or network segmentation to block malicious READLINK responses. Monitor traffic for anomalous READLINK packets that exceed normal size limits.

Generated by OpenCVE AI on July 26, 2026 at 17:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Description U-Boot through 2026.04-rc3 contains a buffer overflow vulnerability in nfs_readlink_reply() (net/nfs-common.c) when CONFIG_CMD_NFS is enabled, allowing a malicious or compromised NFS server to overflow the 2048-byte nfs_path_buff buffer by returning multiple relative symlink targets that are appended without cumulative length validation. Attackers can send two or more READLINK responses containing relative symlink targets of approximately 1100 bytes each to corrupt adjacent BSS variables including nfs_server_ip, nfs_server_mount_port, nfs_server_port, nfs_our_port, nfs_state, and rpc_id, potentially achieving memory corruption and control over the NFS client state machine. U-Boot before 2026.07-rc2 contains a buffer overflow vulnerability in nfs_readlink_reply() (net/nfs-common.c) when CONFIG_CMD_NFS is enabled, allowing a malicious or compromised NFS server to overflow the 2048-byte nfs_path_buff buffer by returning multiple relative symlink targets that are appended without cumulative length validation. Attackers can send two or more READLINK responses containing relative symlink targets of approximately 1100 bytes each to corrupt adjacent BSS variables including nfs_server_ip, nfs_server_mount_port, nfs_server_port, nfs_our_port, nfs_state, and rpc_id, potentially achieving memory corruption and control over the NFS client state machine.
Title U-Boot 2026.04-rc3 Buffer Overflow in nfs_readlink_reply() via NFS READLINK U-Boot < 2026.07-rc2 Buffer Overflow in nfs_readlink_reply() via NFS READLINK
References

Tue, 14 Jul 2026 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Denx
Denx u-boot
CPEs cpe:2.3:a:denx:u-boot:*:*:*:*:*:*:*:*
Vendors & Products Denx
Denx u-boot

Mon, 13 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
References

Fri, 10 Jul 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared U-boot
U-boot u-boot
Vendors & Products U-boot
U-boot u-boot

Wed, 08 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Description U-Boot through 2026.04-rc3 contains a buffer overflow vulnerability in nfs_readlink_reply() (net/nfs-common.c) when CONFIG_CMD_NFS is enabled, allowing a malicious or compromised NFS server to overflow the 2048-byte nfs_path_buff buffer by returning multiple relative symlink targets that are appended without cumulative length validation. Attackers can send two or more READLINK responses containing relative symlink targets of approximately 1100 bytes each to corrupt adjacent BSS variables including nfs_server_ip, nfs_server_mount_port, nfs_server_port, nfs_our_port, nfs_state, and rpc_id, potentially achieving memory corruption and control over the NFS client state machine.
Title U-Boot 2026.04-rc3 Buffer Overflow in nfs_readlink_reply() via NFS READLINK
Weaknesses CWE-120
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-24T17:32:41.013Z

Reserved: 2026-03-03T16:42:01.012Z

Link: CVE-2026-29009

cve-icon Vulnrichment

Updated: 2026-07-08T16:39:35.935Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T17:30:17Z

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')