# CVE-2024-51312: Tenda TX9 Pro stack overflow in SetStaticRouteCfg

Source: https://junglewise.ai/threats/cve-2024-51312-tenda-tx9-pro-stack-overflow-in-setstaticroutecfg  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-20. Updated: 2026-07-20  
License: CC BY 4.0 with a link back

CVE-2024-51312 · Severity: info · Published 2026-07-20

A security vulnerability exists in the Tenda TX9 Pro router, a device used to provide wireless internet connectivity. An attacker can exploit this flaw by sending a specially crafted web request to the router's management interface. If successful, this could cause the router to crash or allow the attacker to take control of the device, potentially leading to unauthorized access to network traffic or a complete loss of internet service.

Technologies: [Tenda TX9 Pro](https://junglewise.ai/threats/technologies/tx9-pro). Vendors: [Tenda](https://junglewise.ai/threats/vendors/tenda).

## Quick answers

**Is CVE-2024-51312 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-51312 being exploited in the wild.

**How severe is CVE-2024-51312?** Informational severity, published 20 July 2026.

**Which products and versions are affected?** Tenda TX9 Pro V22.03.02.20.

**Is there a fix for CVE-2024-51312?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2024-51312 attacked?** It is attacked over the network, in device firmware.

**Am I affected by CVE-2024-51312?** Check whether you run Tenda TX9 Pro at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A stack-based buffer overflow vulnerability exists in the 'httpd' binary of Tenda TX9 Pro firmware version V22.03.02.20. The flaw is located within the 'sub_42EEE0' function, which handles requests to the '/goform/SetStaticRouteCfg' endpoint. The vulnerability is triggered when the 'list' POST parameter is processed using an unsafe 'sscanf' call with the format string '%[^,],%[^,],%[^,],%s'. Because the function does not validate the length of the input string before copying it into fixed-size stack buffers (v16, v18, v19, and v20), a remote attacker can provide an oversized 'list' parameter to overwrite the stack, potentially leading to arbitrary code execution or a crash of the web service.

## Affected products

- Tenda TX9 Pro V22.03.02.20

## Timeline

- 2024-10-21: disclosed: Initial researcher disclosure on Gitee
- 2026-07-20: advisory: CVE published to NVD dataset

## References

- [https://gitee.com/GXB0_0/iot-vul/blob/master/Tenda/TX9/20/SetStaticRouteCfg.md](https://gitee.com/GXB0_0/iot-vul/blob/master/Tenda/TX9/20/SetStaticRouteCfg.md)
- [https://www.tendacn.com/download/detail-4515.html](https://www.tendacn.com/download/detail-4515.html)

## Related threats

- [Tenda TX9 Pro buffer overflow in SetOnlineDevName](https://junglewise.ai/threats/cve-2024-51316-tenda-tx9-pro-buffer-overflow-in-setonlinedevname)
- [Tenda TX9 Pro stack overflow in SetOnlineDevName](https://junglewise.ai/threats/cve-2024-51315-tenda-tx9-pro-stack-overflow-in-setonlinedevname)
- [Tenda TX9 Pro stack overflow in SetNetControlList](https://junglewise.ai/threats/cve-2024-51313-tenda-tx9-pro-stack-overflow-in-setnetcontrollist)
- [Tenda TX9 stack overflow in SetNetControlList](https://junglewise.ai/threats/cve-2024-51311-tenda-tx9-stack-overflow-in-setnetcontrollist)
