CVE-2022-40855
CWE-787Published: September 23, 2022· Updated: Jun 17, 2026
Official Description
Tenda W20E router V15.11.0.6 contains a stack overflow in the function formSetPortMapping with post request 'goform/setPortMapping/'. This vulnerability allows attackers to cause a Denial of Service (DoS) or Remote Code Execution (RCE) via the portMappingServer, portMappingProtocol, portMappingWan, porMappingtInternal, and portMappingExternal parameters.
Risk Analysis
This stack overflow in the Tenda W20E router's port mapping function can result in a denial of service or remote code execution. The 9.8 CVSS score reflects the severity of this remotely exploitable flaw.
No public exploit is known, and it is not in the KEV catalog. It is remotely exploitable with low complexity.
Apply the latest firmware update for the Tenda W20E to patch the port mapping function. Disable or restrict access to the web-based management interface.
Technical Analysis
CVE-2022-40855 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
From a weakness classification perspective (CWE-787): Out-of-bounds write vulnerabilities can lead to data corruption, crashes, or arbitrary code execution.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (2)
Quick Facts
Related CVEs (CWE-787)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2022-40855 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts