CVE-2026-102952
Awaiting Analysis Awaiting Analysis - Queue

UDP Port Confusion in Zephyr TFTP Client

Vulnerability report for CVE-2026-102952, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-23

Last updated on: 2026-11-23

Assigner: Zephyr Project

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-23
Last Modified
2026-11-23
Generated
2026-11-23
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
zephyrproject zephyr From 2.7.0 (inc) to 4.3.2 (exc)
zephyrproject zephyr From 4.4.0 (inc) to 4.5.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-940 The product establishes a communication channel to handle an incoming request that has been initiated by an actor, but it does not properly verify that the request is coming from the expected origin.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
AI Quick Actions have not been generated yet.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-102952. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...