CVE-2026-4042
Stack-Based Buffer Overflow in Tenda i12 WifiMacFilterGet
Publication date: 2026-03-12
Last updated on: 2026-04-02
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| tenda | i12_firmware | 1.0.0.6(2204) |
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-787 | The product writes data past the end, or before the beginning, of the intended buffer. |
| 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?
[{'type': 'paragraph', 'content': 'CVE-2026-4042 is a stack-based buffer overflow vulnerability found in the Tenda i12 router firmware version 1.0.0.6(2204). It exists in the function formWifiMacFilterGet within the file /goform/WifiMacFilterGet. The vulnerability occurs because the function processes user-supplied parameters, specifically "wl_radio" and "index", without proper bounds checking. When "wl_radio" is set to a value other than 0, a variable is passed to the sprintf function without validating its length, causing the stack buffer to overflow.'}, {'type': 'paragraph', 'content': 'This flaw allows an attacker to remotely send crafted requests to the device, potentially causing a denial of service (DoS) or enabling remote code execution by exploiting the memory corruption.'}] [1, 2, 3]
How can this vulnerability impact me? :
This vulnerability can have severe impacts including denial of service (DoS), where the device may crash or become unresponsive, and remote code execution, where an attacker could run arbitrary code on the affected router remotely.
Because the exploit can be triggered remotely without requiring physical or local access, it poses a significant security risk to the confidentiality, integrity, and availability of the device and the network it supports.
There are currently no known mitigations or patches, making affected devices vulnerable until replaced or otherwise protected.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
[{'type': 'paragraph', 'content': 'This vulnerability can be detected by sending crafted HTTP POST requests to the /goform/WifiMacFilterGet endpoint of the Tenda i12 router firmware version 1.0.0.6(2204). Specifically, a POST request with the parameter wl_radio set to a value other than 0 and a large or malformed value in the index parameter can trigger the stack-based buffer overflow.'}, {'type': 'paragraph', 'content': 'A detection command example using curl could be:'}, {'type': 'list_item', 'content': 'curl -X POST http://<target-ip>/goform/WifiMacFilterGet -d "wl_radio=1&index=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"'}, {'type': 'paragraph', 'content': 'If the device crashes, becomes unresponsive, or behaves abnormally after this request, it indicates the presence of the vulnerability.'}] [3]
What immediate steps should I take to mitigate this vulnerability?
Currently, there are no known vendor-provided patches or mitigations for this vulnerability.
Immediate mitigation steps include:
- Restrict remote access to the affected device to trusted networks only, to reduce exposure.
- Monitor network traffic for suspicious POST requests targeting /goform/WifiMacFilterGet with unusual parameters.
- Consider replacing the affected Tenda i12 router with an alternative device that is not vulnerable.