# CVE-2026-19791: Tenda G0 stack buffer overflow in addStaticRoute

Source: https://junglewise.ai/threats/cve-2026-19791-tenda-g0-stack-buffer-overflow-in-addstaticroute  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-14. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-19791 · Severity: high · CVSS 8.8 · Published 2026-08-14

Tenda G0 is a wireless router's management interface that allows administrators to configure network settings. A vulnerability in the static route configuration feature allows remote attackers to send specially crafted requests that overflow a buffer in memory, potentially leading to system crash or code execution without requiring authentication.

Technologies: [Tenda G0](https://junglewise.ai/threats/technologies/g0). Vendors: [Tenda](https://junglewise.ai/threats/vendors/tenda).

## Quick answers

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

**How severe is CVE-2026-19791?** High severity, with a CVSS score of 8.8, published 14 August 2026.

**Which products and versions are affected?** Tenda G0 up to 20260625.

**Is there a fix for CVE-2026-19791?** 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-2026-19791 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-19791?** Check whether you run Tenda G0 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 addStaticRoute function of the Tenda G0 httpd web management interface (/goform/module). The vulnerability occurs when the staticRouteNet parameter is read from user input via cJSON_GetString and formatted directly into a fixed 256-byte stack buffer using sprintf without length validation. The attack vector is network-based and requires no authentication. An attacker can exploit this by sending a POST request with an oversized staticRouteNet value to overflow the stack buffer, potentially achieving remote code execution or denial of service. Exploit code has been publicly disclosed as of 2026-08-14.

## Affected products

- Tenda G0 up to 20260625

## Timeline

- 2026-08-14: disclosed: Advisory published and exploit made public
- 2026-08-14: exploited: Proof-of-concept exploit code available on GitHub

## References

- [https://github.com/lipenghai/iot_bug/blob/main/Tenda/G0/2.md](https://github.com/lipenghai/iot_bug/blob/main/Tenda/G0/2.md)
- [https://vuldb.com/cve/CVE-2026-19791](https://vuldb.com/cve/CVE-2026-19791)

## Related threats

- [Tenda G0 buffer overflow in setPortMapping](https://junglewise.ai/threats/cve-2026-19792-tenda-g0-buffer-overflow-in-setportmapping)
- [Tenda G0 stack buffer overflow in port mirror handler](https://junglewise.ai/threats/cve-2026-19790-tenda-g0-stack-buffer-overflow-in-port-mirror-handler)
- [Tenda G0 and PW201A buffer overflow in Saveqqlist function](https://junglewise.ai/threats/cve-2026-36805-tenda-g0-and-pw201a-buffer-overflow-in-saveqqlist-function)
- [Tenda G0 buffer overflow in formIPMacBindAdd](https://junglewise.ai/threats/cve-2026-36801-tenda-g0-buffer-overflow-in-formipmacbindadd)
- [Tenda G0 buffer overflow in formIPMacBindDel](https://junglewise.ai/threats/cve-2026-36800-tenda-g0-buffer-overflow-in-formipmacbinddel)
