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

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. 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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.