CVE-2026-5687

8.8

Tenda · Router CX12L

Tenda CX12L firmware version 16.03.53.12 contains a stack-based buffer overflow in the /goform/NatStaticSetting endpoint, allowing remote code execution via a crafted page parameter.

Executive summary

A critical stack-based buffer overflow in Tenda CX12L routers allows unauthenticated remote attackers to execute arbitrary code or crash the device.

Vulnerability

The vulnerability exists in the fromNatStaticSetting function within the /goform/NatStaticSetting endpoint, where the page parameter is processed using an unsafe sprintf call without length validation. This allows an unauthenticated attacker to supply an oversized input that overflows a 256-byte stack buffer, resulting in memory corruption or remote code execution.

Business impact

Successful exploitation of this vulnerability poses a severe risk to network infrastructure. By gaining unauthorized access or control over the router, an attacker could intercept sensitive network traffic, modify configuration settings to facilitate man-in-the-middle attacks, or use the device as a pivot point to compromise internal network assets. Given the high CVSS score of 8.8, this flaw represents a significant threat to organizational data confidentiality and operational integrity.

Remediation

Immediate Action: Update the Tenda CX12L firmware to the latest available version provided by the vendor, which includes the necessary bounds checking to prevent buffer overflow.

Proactive Monitoring: Monitor network traffic for anomalous POST requests directed at the /goform/NatStaticSetting endpoint, particularly those containing excessively large payloads.

Compensating Controls: Deploy a Web Application Firewall (WAF) or an Intrusion Prevention System (IPS) rule to block or sanitize incoming HTTP requests that contain oversized parameters directed at the vulnerable management URI.

Exploitation status

Public Exploit Available: Yes — as documented in the researcher's technical write-up on GitHub.

Analyst recommendation

The vulnerability is severe and requires immediate attention due to the potential for unauthenticated remote code execution. Administrators should prioritize patching affected Tenda CX12L devices immediately. If an update cannot be applied instantly, isolate the management interface from the public internet to mitigate the risk of remote exploitation.

More Tenda CVEs

Sources

Originally found and disclosed by lv1020 (VulDB User), per the CVE Program record.