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-102716 Overview
CVE-2026-102716 is a memory leak vulnerability in the Eclipse ThreadX NetX Duo Real Time Streaming Protocol (RTSP) server. An unauthenticated attacker can drain the server's packet pool by sending malformed RTSP requests carrying a Session header that the parser cannot convert to an integer. Each malformed request permanently consumes one packet from the pool, and roughly two dozen requests are sufficient to exhaust a 22 packet pool. Once the pool is empty, the RTSP server stops responding, and any application component sharing that pool fails alongside it. The flaw is tracked under CWE-401: Missing Release of Memory after Effective Lifetime.
Critical Impact
An unauthenticated remote attacker can permanently disable the RTSP server, and any co-located application sharing its packet pool, with fewer than 30 requests.
Affected Products
- Eclipse ThreadX NetX Duo — RTSP server addon (addons/rtsp/nx_rtsp_server.c)
- Applications embedding the shipped NetX Duo RTSP sample
- Devices sharing a single NetX packet pool between the RTSP server and the wider network stack
Discovery Timeline
- 2026-09-29 - CVE-2026-102716 published to the National Vulnerability Database (NVD)
- 2026-09-29 - Last updated in the NVD database
Technical Details for CVE-2026-102716
Vulnerability Analysis
The defect sits in the RTSP header parser inside nx_rtsp_server.c. When the parser processes a Session header, it calls _nx_utility_string_to_uint to convert the value to an integer. If the conversion fails, the function returns the raw NetX error code (NX_INVALID_PARAMETERS, NX_SIZE_ERROR, or NX_OVERFLOW) directly to the caller. Every other header branch in the same function first maps parser failures to an RTSP status code such as NX_RTSP_STATUS_CODE_BAD_REQUEST, which is what the response path expects.
The unmapped code reaches _nx_rtsp_server_error_response_send at line 1234. That function does not recognise the raw NetX value, takes an early exit path, and never releases the response packet it already allocated. The packet remains attached to the pool's accounting but is unreachable, so it is never returned even when the client disconnects.
Root Cause
The root cause is inconsistent error translation between sibling parser branches combined with a missing release on an untested exit path in _nx_rtsp_server_error_response_send. Both issues are needed for the leak: the wrong return value drives execution into the exit path, and the exit path fails to free the allocated packet.
Attack Vector
Exploitation requires only network reachability to the RTSP listener. No authentication, user interaction, or session setup is needed. An attacker sends RTSP requests containing a Session header with a value that cannot be parsed as an unsigned integer, for example an empty string. Reference testing published in the advisory shows that six malformed requests against a 22 packet pool reduce availability to 17 of 22 packets, and 26 requests drive the pool to zero. Once exhausted, the server can no longer allocate response packets and every subsequent client is refused service.
See the Eclipse ThreadX NetX Duo Security Advisory GHSA-q462-246c-x3jc for the full technical write up and reproducer.
Detection Methods for CVE-2026-102716
Indicators of Compromise
- Repeated inbound RTSP requests from a single source containing a Session header with empty or non-numeric values.
- Steady decline in the NetX packet pool's available counter that does not recover after client disconnect.
- RTSP server logs showing allocation failures or new connections dropped without a corresponding response.
Detection Strategies
- Instrument the RTSP listener to log the parsed value and return status of every Session header conversion, alerting on non-zero returns.
- Track packet pool high water marks over time and alert when the free count trends monotonically downward under normal load.
- Deploy network signatures that flag RTSP SETUP, PLAY, or TEARDOWN requests carrying malformed Session header values.
Monitoring Recommendations
- Export NetX pool telemetry (nx_packet_pool_available, nx_packet_pool_total) to a central metrics platform and alert on sustained depletion.
- Rate limit or block source addresses that generate a burst of RTSP requests with invalid header syntax.
- Correlate RTSP protocol anomalies with device-level health signals so a single misbehaving device is contained before the shared pool is drained.
How to Mitigate CVE-2026-102716
Immediate Actions Required
- Apply the upstream fix from the Eclipse ThreadX NetX Duo project as soon as it is available for your release branch.
- Restrict network exposure of the RTSP listener to trusted management networks until the patched build is deployed.
- Separate the RTSP server's packet pool from the pool used by the rest of the application to contain the blast radius of exhaustion.
Patch Information
The advisory prescribes two source-level changes. First, translate the _nx_utility_string_to_uint failure in the Session branch of the RTSP header parser to NX_RTSP_STATUS_CODE_BAD_REQUEST, matching the behaviour of the CSeq branch eighteen lines earlier. Second, release the response packet on every exit path of _nx_rtsp_server_error_response_send in nx_rtsp_server.c. Consult the GitHub Security Advisory GHSA-q462-246c-x3jc for the reference patch and affected commit range.
Workarounds
- Front the RTSP service with an access control list that permits only authenticated peers or known client subnets.
- Increase the size of the packet pool as a short-term buffer, while recognising that a persistent attacker will still exhaust it.
- Monitor and automatically restart the RTSP task when packet pool availability crosses a low water mark, restoring service until a patched build ships.
# Example: block untrusted access to the RTSP port (554) at the edge firewall
iptables -A INPUT -p tcp --dport 554 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 554 -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

