Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObserve or await client TFTP request
-
ExploitSend first UDP reply to ephemeral port
-
ExecutionClient zsock_connect()s to attacker as peer
-
ImpactDeliver attacker-chosen content to data callback or capture upload
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Communication channel verification
|
| Exploitation Conditions | Requires the Zephyr TFTP client library (CONFIG_TFTP) to be built in and the device to actively start a transfer via tftp_get() or tftp_put() - the flaw is only exploitable during an in-progress request, not passively. For easy exploitation the attacker must be on-path on the same network segment so it can see the request and reply from its own address (no IP spoofing of the server required). An off-path attacker is limited by needing to guess the randomized ~15-bit ephemeral local port and beat the real server's reply in a race - easier when the configured server is slow or unreachable, hard otherwise. No authentication and no user interaction beyond initiating the transfer. Limiting factors: affects only versions >= 2.7.0 and below 4.3.2, and >= 4.4.0 below 4.5.0; even after the fix, an attacker who can spoof the real server's IP address can still interfere, since TFTP has no authentication. |
| Impact | This is a genuine but moderate-severity weakness, not a critical priority. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N, C:L/I:L/A:N, base 4.8) is internally consistent with the description: no authentication or user interaction is needed, but AC:H reflects the real constraint - an off-path attacker must guess a randomized ~15-bit ephemeral port and win a race against the legitimate server's reply. An on-path attacker on the same segment faces no such difficulty, so real-world risk is higher on shared/untrusted L2 segments than the AC:H metric alone suggests. No EPSS score, SSVC vector, or KEV/exploitation data was supplied, so probabilistic exploitation signals are absent; the only priority signal is the vuln.today 'this_month' decision label, consistent with a medium issue rather than act_now/emergency. Impact is bounded to the content of a single TFTP transfer (attacker-chosen data to the receive callback, or exfiltration of the upload buffer) with no memory corruption, which supports the C:L/I:L/A:N rating. Note a data conflict: the input Tags list 'Buffer Overflow', but both the description and CWE-940 (improper verification of communication source) explicitly state there is no memory corruption - the tag is mislabeled and should not drive triage. |
| Exploit ScenarioDerived | A Zephyr device initiates a TFTP download via tftp_get() (for example from an application or the 'net tftp' shell command). An attacker on the same network segment, or an off-path attacker who guesses the client's randomized ephemeral port and wins the race before the real server answers, sends the first UDP datagram to that port; the client calls zsock_connect() to the attacker and accepts attacker-chosen content for the entire transfer (or, for tftp_put(), sends the whole upload buffer to the attacker). No public exploit identified at time of analysis, though the vendor GHSA advisory and patch commit describe the mechanism in detail. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 23, 2026
The Zephyr TFTP client accepts the first UDP datagram that arrives after a read or write request without verifying that it came from the configured server, so a host that replies first becomes the transfer peer. Devices running Zephyr versions 2.7.0 through 4.3.1, or 4.4.0 through 4.4.x, with CONFIG_TFTP built in and an application or shell command initiating tftp_get() or tftp_put() are affected; for downloads the attacker controls the entire data delivered to the callback, and for uploads the whole buffer is sent to the attacker, with no memory corruption involved. An attacker on the same network segment can win the race trivially, while an off-path attacker must guess the randomized ~15-bit ephemeral port and beat the real server, which is why this is rated AC:H at 4.8; a public PoC reference exists via the upstream advisory and fix commit, and no confirmed active exploitation (CISA KEV) is reported.
RemediationAI
Upgrade to Zephyr 4.3.2 or 4.5.0, which contain the fixed recv_from_peer() logic that validates the server address on the first reply and the full address and port (TID) on every later datagram, discarding mismatches without consuming transfer retries; backports are merged on the v4.3, v4.4 and v3.7 branches, so tracking those branches also resolves the issue. Where upgrading is not immediately possible, disable the TFTP client (drop CONFIG_TFTP) so tftp_get()/tftp_put() and the net tftp shell command are unavailable - this removes the attack surface entirely at the cost of the feature. Restricting deployments so TFTP transfers only run on segments where on-path attackers are not present reduces the easy attack path but does not stop an off-path attacker that guesses the ~15-bit ephemeral port, and network segmentation offers only partial protection because an on-path host needs no spoofing to hijack the first reply. Vendors should note that even after patching, an attacker able to spoof the configured server's IP address can still interfere with transfers, since TFTP has no authentication; do not treat the patch as establishing trust in transfer content.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
TFTP (RFC 1350) identifies a transfer by the server-side address and port pair, the transfer ID (TID): the client sends its RRQ/WRQ to port 69, the server answers from a fresh ephemeral port, and from then on the client must discard datagrams whose source is not that TID. Zephyr's implementation in subsys/net/lib/tftp/tftp_client.c broke this after commit ccc0999b80a (v2.7.0), which replaced the up-front zsock_connect() to the configured server with a zsock_recvfrom() that accepts the first datagram from any source and then zsock_connect()s to that sender, making the attacker the permanent peer. This is CWE-940 (improper verification of source of a communication channel), not a memory-safety defect; the CWE label and 'Buffer Overflow' tag in the feed do not match the advisory, which explicitly states there is no memory corruption. The committed fix adds recv_from_peer(), which compares the reply source against client->server_addr using same_address() on the first reply and same_tid() (address plus port) on all later datagrams, dropping mismatches with a rate-limited warning without consuming retry budget, and uses the validated peer for subsequent sends and receives. Exploitation is gated by the ephemeral port selection in subsys/net/ip/net_context.c, which uses sys_rand16_get() (about 15 bits of entropy), giving off-path attackers a restricted race window; connected UDP sockets already re-registered the connection with the remote address, so post-connect filtering existed and the first-reply hijack is the core defect. TFTP's lack of authentication means even patched devices remain vulnerable to an attacker able to spoof the real server's IP address.
Know when Zephyr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
No auth or interaction beyond starting a transfer (PR:N/UI:N); AC:H for the off-path port-guess and race win; impact bounded to transfer data so C:L/I:L, no availability loss.
Primary rating from Vendor (zephyr).
CVSS VectorVendor: zephyr
DescriptionCVE.org
The Zephyr TFTP client in subsys/net/lib/tftp/tftp_client.c does not check where the reply to its request comes from. After sending a read or write request to the configured server, send_request() accepts the first UDP datagram that arrives on the client's socket from any address and port. It then calls zsock_connect() to that sender, so the sender becomes the peer for the rest of the transfer. RFC 1350 requires a client to discard datagrams whose source does not match the transfer ID it expects.
A host that can send a UDP datagram to the client's ephemeral port before the real server replies can take over the transfer. It can reply from its own address and does not need to spoof the server. A host on the same network segment that sees the request can do this easily. An off-path attacker must guess the randomized ephemeral port and win the race, which is easier when the server is slow or unreachable. No authentication or user interaction is needed beyond the device starting a transfer through tftp_get() or tftp_put(), for example from an application or the net tftp shell command.
For tftp_get(), the attacker chooses the entire content handed to the application's data callback. For tftp_put(), the whole upload buffer is sent to the attacker. There is no memory corruption. TFTP itself has no authentication, and after the fix an attacker who can spoof the server's IP address can still interfere with a transfer. The fix checks the server's address on the first reply and the full address and port on every later datagram, and drops mismatches without using up the transfer's retries.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),
An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on
Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit
Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS
Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner
Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability
Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable
DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul
zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(
Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul
The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte
Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c
EUVD-2026-133382
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB