# CVE-2024-51315: Tenda TX9 Pro stack overflow in SetOnlineDevName

Source: https://junglewise.ai/threats/cve-2024-51315-tenda-tx9-pro-stack-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-51315 · Severity: info · CVSS 7.5 · Published 2026-07-20

A vulnerability exists in the Tenda TX9 Pro router, a device used to provide wireless internet connectivity. An attacker can send a specially crafted network request to the router's management interface to cause the device to crash or lock up. This results in a denial-of-service, requiring a manual restart to restore internet access and router functionality.

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

## Quick answers

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

**How severe is CVE-2024-51315?** Informational severity, with a CVSS score of 7.5, published 20 July 2026.

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

**Is there a fix for CVE-2024-51315?** 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-51315 attacked?** It is attacked over the network, in device firmware.

**Am I affected by CVE-2024-51315?** 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 overflow vulnerability exists in the 'httpd' binary of Tenda TX9 Pro firmware V22.03.02.20. The flaw is located within the 'sub_425964' function, which processes the 'mac' parameter from POST requests sent to '/goform/SetOnlineDevName'. This parameter is passed to the 'update_dev_name' function in 'libtd_server.so' without adequate length validation. An attacker can provide an oversized 'mac' string to trigger a stack overflow or hit a '__trap(0)' instruction, leading to a device hang or crash. This attack can be executed over the network via an unauthenticated POST request.

## Affected products

- Tenda TX9 Pro V22.03.02.20

## Timeline

- 2024-10-21: other: Initial researcher write-up published on Gitee
- 2026-07-20: disclosed: CVE published to NVD

## References

- [https://gitee.com/GXB0_0/iot-vul/blob/master/Tenda/TX9/20/SetOnlineDevName_mac.md](https://gitee.com/GXB0_0/iot-vul/blob/master/Tenda/TX9/20/SetOnlineDevName_mac.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 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)
