CVE-2026-10191
Stack-Based Buffer Overflow in Tenda W12 Router
Publication date: 2026-05-31
Last updated on: 2026-05-31
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| tenda | w12 | 3.0.0.7 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| 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. |
| 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). |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2026-10191 is a buffer overflow vulnerability found in the cgiWifiMacFilterSet function of the Tenda W12 device firmware. It occurs because the software does not properly check the length of the MAC address filter list input, allowing an attacker to send an excessively long MAC address string that overflows the allocated buffer.
This overflow can overwrite critical memory areas, potentially enabling arbitrary code execution, denial of service, or unauthorized access to the device. The vulnerability can be exploited remotely without authentication by sending a specially crafted request to the web interface managing Wi-Fi MAC filtering.
How can this vulnerability impact me? :
This vulnerability can have serious impacts including allowing attackers to execute arbitrary code on the affected device, causing denial of service, or gaining unauthorized access to network configurations.
- Remote exploitation without authentication makes it easier for attackers to compromise the device.
- Compromise of the device could lead to network disruptions or further attacks on connected systems.
- Attackers could manipulate Wi-Fi MAC filtering settings, potentially bypassing network access controls.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring for suspicious HTTP requests targeting the cgiWifiMacFilterSet endpoint on the affected Tenda W12 device. Specifically, look for unusually long or malformed MAC address filter settings in requests to this CGI script, which may indicate attempts to exploit the buffer overflow.
Network detection can involve capturing HTTP traffic and filtering for requests to the /cgiWifiMacFilterSet_overflow endpoint or similar paths related to Wi-Fi MAC filtering configuration.
Example commands to detect potential exploitation attempts include using tools like tcpdump or tshark to capture and filter HTTP requests:
- tcpdump -i <interface> -A -s 0 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' | grep -i 'cgiWifiMacFilterSet'
- tshark -i <interface> -Y 'http.request.uri contains "cgiWifiMacFilterSet"' -T fields -e http.request.uri
Additionally, inspecting device logs for unusual activity or crashes related to the /bin/httpd process may help identify exploitation attempts.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include restricting access to the vulnerable web interface, especially the cgiWifiMacFilterSet endpoint, by implementing network-level controls such as firewall rules or access control lists to limit who can send requests to the device.
If possible, disable the Wi-Fi MAC filtering feature or the web interface temporarily until a patch or firmware update is available from the vendor.
Monitor the device for unusual behavior or signs of compromise, and consider isolating affected devices from critical network segments.
Apply any available firmware updates or patches provided by Tenda addressing this vulnerability as soon as they are released.