Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Tenda CH22
-
DeliverySend crafted request to /goform/webtypelibrary
-
ExploitInject oversized webSiteId parameter
-
ExecutionTrigger stack-based buffer overflow
-
ImpactExecute arbitrary code with device privileges
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated access to Tenda CH22 1.0.0.1 router. Attacker must be logged into the device with user privileges to access the /goform/webtypelibrary endpoint and manipulate the webSiteId parameter to trigger stack-based buffer overflow. |
| Impact | This vulnerability presents significant real-world risk despite requiring authentication. The CVSS 4.0 score of 7.4 reflects high impact across confidentiality, integrity, and availability (VC:H/VI:H/VA:H) with network-based attack vector (AV:N), low complexity (AC:L), and no user interaction required (UI:N). The authentication requirement (PR:L) provides minimal protection since many Tenda routers ship with default credentials that are widely documented and rarely changed by consumers. The public availability of exploit code (E:P confirmed, with GitHub repository at Litengzheng/vuldb_new) dramatically increases risk by enabling script-kiddie level attacks. No CISA KEV listing indicates this is not confirmed as actively exploited in significant campaigns at time of analysis, but the combination of default credential prevalence, public exploit, and router accessibility makes exploitation highly feasible. The CVSS vector shows no downstream impact to other systems (SC:N/SI:N/SA:N), limiting scope to the router itself, but complete router compromise enables network traffic interception, DNS hijacking, and lateral movement staging. This warrants immediate patching priority for organizations using affected devices. |
| Exploit ScenarioDerived | An attacker on the internet scans for Tenda CH22 routers with exposed administrative interfaces, either on non-standard ports or through UPnP exposure. Finding a target running version 1.0.0.1, the attacker attempts authentication using common default credentials (admin/admin or variations documented in router databases). Upon successful authentication with low-privilege credentials, they craft a malicious HTTP POST request to /goform/webtypelibrary with an oversized webSiteId parameter containing shellcode. The formWebTypeLibrary function copies this input without bounds checking, overflowing the stack buffer and overwriting the return address. When the function returns, execution redirects to attacker-supplied shellcode, granting full control over the router. The attacker then installs persistent backdoor firmware, configures DNS hijacking to redirect banking sites to phishing servers, and uses the compromised router as a pivot point for attacking other devices on the victim's network. The publicly available exploit code on GitHub provides ready-made payload construction, making this scenario trivial to execute for even unsophisticated attackers. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
Stack-based buffer overflow in Tenda CH22 router version 1.0.0.1 allows authenticated remote attackers to achieve arbitrary code execution via the webSiteId parameter in the formWebTypeLibrary function. Public exploit code exists on GitHub, significantly lowering the barrier to exploitation. While requiring low-privilege authentication (PR:L), the vulnerability enables complete compromise of router confidentiality, integrity, and availability with low attack complexity.
RemediationAI
No vendor-released patch has been identified in the available intelligence at time of analysis. Users should immediately check the Tenda support website at https://www.tenda.com.cn/ for firmware updates newer than version 1.0.0.1 and apply them if available. As interim mitigations, organizations should disable remote administration features to reduce network-based attack surface, change default administrative credentials to complex passwords unique to each device, implement network segmentation to isolate IoT devices including routers from critical systems, and restrict administrative interface access to trusted IP addresses only through firewall rules. Consider replacing affected devices with alternative router models if Tenda does not release a security update within a reasonable timeframe. Monitor the VulDB advisory at https://vuldb.com/vuln/354332 for updates on patch availability. For environments where these devices cannot be immediately replaced or patched, place them behind additional network security controls and monitor for suspicious authentication attempts or unusual outbound traffic patterns.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability affects the Tenda CH22 router firmware version 1.0.0.1, specifically within the Parameter Handler component that processes web interface requests. The formWebTypeLibrary function in /goform/webtypelibrary endpoint fails to properly validate input length for the webSiteId parameter before copying it to a fixed-size stack buffer. This is a classic CWE-121 stack-based buffer overflow, where attacker-controlled data exceeds allocated stack memory boundaries. Stack overflows are particularly dangerous in embedded devices like routers because they can overwrite return addresses and function pointers, enabling arbitrary code execution with the privileges of the web server process. The CPE identifier cpe:2.3:a:tenda:ch22:*:*:*:*:*:*:*:* confirms this affects the Tenda CH22 product line, though the specific vulnerable version is 1.0.0.1.
Know when Ch22 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was determined in Tenda CH22 1.0.0.1. Affected is the function formWebTypeLibrary of the file /goform/webtypelibrary of the component Parameter Handler. This manipulation of the argument webSiteId causes stack-based buffer overflow. The attack can be initiated remotely. The exploit has been publicly disclosed and may be utilized.
Articles & Coverage 1
Executive ViewAI
CVE-2026-5204 is a high-severity stack-based buffer overflow in Tenda CH22 routers (version 1.0.0.1) that allows authenticated attackers to execute arbitrary code and fully compromise router security. With public exploit code available and no vendor patch released, organizations deploying this model face immediate risk of network infiltration through a compromised gateway device.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable remote management/WAN access to the router's web interface; (2) Restrict administrative access to trusted internal networks only; (3) Enforce strong, unique credentials for any router administrative accounts; (4) Monitor router logs and network traffic for suspicious requests to formWebTypeLibrary endpoint; (5) Consider isolating affected routers to a segregated network segment with limited east-west connectivity; (6) Prepare device replacement strategy pending vendor patch availability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
Buffer overflow in the Tenda CH22 router (firmware 1.0.0.1) allows a remote, authenticated attacker to corrupt memory by
Stack-based buffer overflow in Tenda CH22 router firmware version 1.0.0.1 allows authenticated remote attackers to execu
Stack-based buffer overflow in Tenda CH22 router firmware version 1.0.0.1 allows authenticated remote attackers to achie
Remote path traversal in Tenda CH22 1.0.0.6(468) httpd component allows unauthenticated attackers to access arbitrary fi
Command injection in Tenda CH22 version 1.0.0.1 allows a remote low-privileged attacker to execute arbitrary OS commands
Command injection in Tenda CH22 firmware 1.0.0.1 allows low-privileged remote attackers to execute arbitrary OS commands
Command injection in Tenda CH22 firmware version 1.0.0.1 allows a low-privileged remote attacker to execute arbitrary OS
EUVD-2026-17509
GHSA-5qj8-jcmc-3p6q
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB