Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable via web interface, low complexity, but PR:L required per CVSS 4.0 input; no scope change as impact is confined to the router itself.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
5DescriptionCVE.org
A vulnerability was identified in Tenda G0 up to 20260625. This issue affects the function formSetPortMirror of the file /goform/module of the component httpd Web Management Interface. Such manipulation of the argument portMirrorMirroredPorts leads to stack-based buffer overflow. The attack can be executed remotely. The exploit is publicly available and might be used.
AnalysisAI
Stack-based buffer overflow in the Tenda G0 router's httpd web management interface allows network-adjacent or remote authenticated attackers to corrupt stack memory by supplying an oversized value to the portMirrorMirroredPorts argument of the formSetPortMirror function at the /goform/module endpoint. All G0 firmware builds through 20260625 are confirmed affected per EUVD-2026-58575 and NVD CPE data. A public proof-of-concept exploit is available on GitHub, materially lowering the bar for exploitation; no CISA KEV listing has been identified, so active widespread exploitation is not confirmed at time of analysis.
Technical ContextAI
Tenda G0 is a SOHO/consumer-grade router running an embedded HTTP daemon (httpd) that serves the device's web-based management interface. The vulnerable code path is the formSetPortMirror handler, which processes the port mirroring configuration submitted via HTTP POST to /goform/module. CWE-121 (Stack-Based Buffer Overflow) identifies the root cause: the function copies the caller-supplied portMirrorMirroredPorts string into a fixed-size stack buffer without validating input length, enabling a classic stack smash. The affected CPE is cpe:2.3:a:tenda:g0:*:*:*:*:*:*:*:*, covering all sub-versions up to the 20260625 firmware build. Exploitation feasibility on embedded MIPS/ARM routers typically depends on whether stack canaries and ASLR are implemented in the firmware; consumer Tenda devices historically ship without these protections.
RemediationAI
No vendor-released patch identified at time of analysis - patch availability should be monitored via https://www.tenda.com.cn/ and the VulDB entry at https://vuldb.com/vuln/389757. Until a firmware update is available, the primary compensating control is to block external network access to the httpd management interface (typically TCP 80/443) using an upstream firewall or ACL, preventing network-reachable exploitation at the cost of disabling remote web-based management. As an additional control, change any default credentials on the device to reduce the risk of credential-based access enabling exploitation - the PR:L requirement means valid low-privilege credentials must first be obtained. Do not expose the Tenda G0 management interface directly to the internet or untrusted VLANs. Monitor the GitHub PoC repository at https://github.com/lipenghai/iot_bug/blob/main/Tenda/G0/1.md for weaponization updates.
Buffer overflow in the Tenda G0 router's httpd web management interface allows authenticated remote attackers to corrupt
Stack-based buffer overflow in the Tenda G0 router's httpd web management interface allows low-privileged remote attacke
Same weakness CWE-121 – Stack-based Buffer Overflow
View allSame technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-58575
GHSA-hrjq-f2xj-8982