# CVE-2024-51316: Tenda TX9 Pro buffer overflow in SetOnlineDevName

Source: https://junglewise.ai/threats/cve-2024-51316-tenda-tx9-pro-buffer-overflow-in-setonlinedevname  
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-51316 · Severity: info · Published 2026-07-20

Tenda TX9 Pro routers are affected by a security flaw in the web management interface. By sending a specially crafted network request to change a device name, an attacker can cause the router to crash or become unresponsive. This results in a denial of service, disrupting internet connectivity for all connected users and requiring a manual restart to restore operations.

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

## Quick answers

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

**How severe is CVE-2024-51316?** 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-51316?** 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-51316 attacked?** It is attacked over the network, in device firmware.

**Am I affected by CVE-2024-51316?** 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 exists in the Tenda TX9 Pro V22.03.02.20 firmware within the 'httpd' binary. The vulnerability is located in the 'update_dev_name' function (called by 'sub_425964') inside 'libtd_server.so'. The root cause is improper bounds checking when converting the 'devName' POST parameter from GB2312 to UTF-8 using the 'gb2312_2_utf8' function. A remote attacker can exploit this by sending a long string in the 'devName' parameter to the '/goform/SetOnlineDevName' endpoint, leading to a crash of the web service or the entire device.

## Affected products

- Tenda TX9 Pro V22.03.02.20

## Timeline

- 2024-10-21: other: Initial vulnerability report and PoC published on Gitee
- 2026-07-20: disclosed: CVE published to NVD dataset

## References

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

## Related threats

- [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 SetStaticRouteCfg](https://junglewise.ai/threats/cve-2024-51312-tenda-tx9-pro-stack-overflow-in-setstaticroutecfg)
- [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)
