CVE-2026-11522
Received Received - Intake
Stack-Based Buffer Overflow in Tenda W20E Router

Publication date: 2026-06-08

Last updated on: 2026-06-08

Assigner: VulDB

Description
A vulnerability was detected in Tenda W20E 15.11.0.6. This vulnerability affects the function formSetPortMirror of the file /goform/setPortMirror. Performing a manipulation of the argument portMirrorMirroredPorts results in stack-based buffer overflow. The attack can be initiated remotely. The exploit is now public and may be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-08
Last Modified
2026-06-08
Generated
2026-06-09
AI Q&A
2026-06-08
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
tenda w20e 15.11.0.6
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-121 A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
CWE-119 The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Impact Analysis

This vulnerability can have severe impacts including service disruption and unauthorized control.

  • Service crash due to stack corruption, leading to denial of service.
  • Potential remote code execution (RCE) by an authenticated attacker, which could allow them to execute arbitrary code on the device.
  • Compromise of the router's security, potentially allowing attackers to intercept or manipulate network traffic.
Executive Summary

CVE-2026-11522 is a stack-based buffer overflow vulnerability found in the Tenda W20E router, specifically in the formSetPortMirror function located in the /goform/setPortMirror file.

The vulnerability arises when an authenticated attacker manipulates the portMirrorMirroredPorts parameter with input exceeding 256 bytes. The function uses sprintf to copy this input into a fixed-size 256-byte stack buffer without proper bounds checking.

This improper handling can overwrite critical stack data such as the saved Link Register (LR), potentially causing the service to crash or allowing remote code execution (RCE).

Exploitation requires authentication and has been demonstrated with a proof-of-concept payload of 1000 'A' characters sent to the vulnerable endpoint.

Detection Guidance

This vulnerability can be detected by attempting to send a specially crafted HTTP POST request to the /goform/setPortMirror endpoint on the Tenda W20E router running version 15.11.0.6. The request should include the portMirrorMirroredPorts parameter with a payload exceeding 256 bytes, such as 1000 'A' characters, to test for a stack-based buffer overflow.

Detection requires authentication on the device, as exploitation needs authenticated access.

A sample command using curl to test the vulnerability could be:

  • curl -X POST -d "portMirrorMirroredPorts=$(python3 -c 'print("A"*1000)')" http://<router-ip>/goform/setPortMirror --user <username>:<password>

Monitoring for crashes or abnormal behavior on the device after sending such a request can indicate the presence of the vulnerability.

Mitigation Strategies

Immediate mitigation steps include restricting access to the router's management interface to trusted users only, ensuring that only authenticated users can reach the /goform/setPortMirror endpoint.

Limit network exposure by placing the device behind a firewall or VPN and disabling remote management if not needed.

Monitor the device for unusual crashes or behavior that could indicate exploitation attempts.

Apply any available firmware updates or patches from the vendor once released to fix the vulnerability.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-11522. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart