Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-102713 Overview
CVE-2026-102713 affects the Eclipse ThreadX NetX Duo TFTP server. The server accepts a DATA datagram of any size because the dispatcher only rejects datagrams shorter than four bytes and never enforces the protocol maximum of 4 + NX_TFTP_FILE_TRANSFER_MAX. The missing upper-bound check enables two pre-authentication conditions: a heap buffer over-read that leaks memory into an attacker-controlled file, and a thread-suspension condition that wedges the server. TFTP has no authentication, so both outcomes are reachable by any network-adjacent attacker.
Critical Impact
Unauthenticated attackers can trigger a heap-buffer-overflow read to disclose memory and permanently suspend the TFTP server thread, denying service to all subsequent clients.
Affected Products
- Eclipse ThreadX NetX Duo (TFTP server addon)
- addons/tftp/nxd_tftp_server.c DATA handler
- Deployments using NX_WAIT_FOREVER for TFTP packet copy operations
Discovery Timeline
- 2026-09-29 - CVE-2026-102713 published to NVD
- 2026-09-29 - Last updated in NVD database
Technical Details for CVE-2026-102713
Vulnerability Analysis
The vulnerability is an out-of-bounds read [CWE-125] in the TFTP DATA branch of nxd_tftp_server.c. The dispatcher at line 1037 rejects only datagrams shorter than four bytes. No code path validates that nx_packet_length stays below 4 + NX_TFTP_FILE_TRANSFER_MAX. The DATA handler then passes nx_packet_length - 4 directly to fx_file_write at line 1889.
Because nx_packet_length describes a chain length rather than a single contiguous buffer, FileX reads past the end of the first packet during the memory copy. AddressSanitizer confirms the condition as a heap-buffer-overflow READ of size 1280 immediately to the right of a 4104-byte region in _fx_utility_memory_copy. The out-of-bounds bytes are written into the uploaded file, and a subsequent TFTP read request retrieves them, turning the overflow into a memory-disclosure primitive with a reliable exfiltration channel.
Root Cause
The DATA branch trusts attacker-supplied packet length without enforcing the protocol-defined upper bound. A single missing check on nx_packet_length > 4 + NX_TFTP_FILE_TRANSFER_MAX allows oversized datagrams to reach both nx_packet_copy and fx_file_write.
Attack Vector
An attacker sends a single oversized TFTP DATA datagram to the server. The nx_packet_copy call at line 1863 requires ceil(nx_packet_length / pool_payload) packets and requests them with NX_WAIT_FOREVER. When the datagram size exceeds the pool capacity, the server thread suspends indefinitely. Observed behavior shows the pool at 0 of 12 packets, the server thread suspended, and no further clients served. The same datagram simultaneously produces the heap over-read written into the attacker's uploaded file, which the attacker then downloads via a TFTP read request.
See the Eclipse ThreadX NetX Duo GitHub Security Advisory for technical details.
Detection Methods for CVE-2026-102713
Indicators of Compromise
- TFTP DATA datagrams with total length exceeding 4 + NX_TFTP_FILE_TRANSFER_MAX
- TFTP server thread transitioning to a suspended state with the packet pool exhausted (0 of N packets available)
- Uploaded files on the TFTP server containing content larger than the transmitted DATA payload
- TFTP read requests returning file contents that include unexpected binary data outside the sender's original payload
Detection Strategies
- Instrument the TFTP dispatcher with logging that records nx_packet_length for every DATA datagram and flag values above the protocol maximum
- Deploy AddressSanitizer or equivalent memory-safety instrumentation in test builds to detect heap-buffer-overflow reads in _fx_utility_memory_copy
- Monitor packet-pool utilization for sustained exhaustion combined with a suspended TFTP server thread
Monitoring Recommendations
- Alert on unexpected file-size deltas between TFTP write and read operations targeting the same filename
- Track TFTP service liveness with periodic probes and alert on timeouts that correlate with pool exhaustion
- Capture network flows to identify a single source sending abnormally large TFTP DATA datagrams before service disruption
How to Mitigate CVE-2026-102713
Immediate Actions Required
- Restrict network access to the TFTP service using firewall rules that limit inbound UDP port 69 to trusted hosts
- Disable the NetX Duo TFTP server addon on devices that do not require it
- Apply the upstream patch from the Eclipse ThreadX NetX Duo project once available
Patch Information
The upstream fix requires two changes in the DATA branch of nxd_tftp_server.c. First, reject any datagram where nx_packet_length > 4 + NX_TFTP_FILE_TRANSFER_MAX before calling nx_packet_copy or fx_file_write. Second, replace NX_WAIT_FOREVER in the nx_packet_copy call at line 1863 with a bounded wait so an oversized request cannot suspend the server thread indefinitely. Refer to the Eclipse ThreadX NetX Duo GitHub Security Advisory for the fixed release.
Workarounds
- Place the TFTP server behind a network filter that enforces a maximum UDP payload size below 4 + NX_TFTP_FILE_TRANSFER_MAX
- Rebuild the TFTP addon locally with an explicit upper-bound check in the DATA branch and a bounded wait constant in place of NX_WAIT_FOREVER
- Rate-limit or block TFTP traffic from untrusted network segments until the patched release is deployed
# Configuration example: restrict TFTP to a management subnet
iptables -A INPUT -p udp --dport 69 -s 10.10.0.0/24 -j ACCEPT
iptables -A INPUT -p udp --dport 69 -j DROP
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

