CVE-2026-2886 Details
Description
A weakness has been identified in Tenda A21 1.0.0.0. This affects the function set_device_name of the file /goform/SetOnlineDevName. This manipulation of the argument devName causes stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks.
A stack-based buffer overflow vulnerability has been identified in the Tenda A21 router, specifically in the firmware version 1.0.0.0. The issue arises in the `set_device_name` function within the `/goform/SetOnlineDevName` endpoint. The vulnerability is triggered by manipulating the `devName` parameter, which is not properly validated before being used in a `sprintf` function. This oversight allows for the overflow of a fixed-size stack buffer, potentially leading to arbitrary code execution with root privileges. Additionally, the vulnerability can cause a denial-of-service by crashing the `httpd` process, which manages the web interface.
It is recommended to replace unsafe functions like `sprintf` with `snprintf` to prevent buffer overflows. Additionally, implementing strict input validation on the `devName` parameter can help mitigate this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/QIU-DIE/cve-nneeww/issues/6 | [email protected] | ExploitIssue TrackingMitigationThird Party Advisory |
| https://vuldb.com/?ctiid.347180 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.347180 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.754640 | [email protected] | Third Party AdvisoryVDB Entry |
| https://www.tenda.com.cn/ | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| tenda a21 firmware | 1.0.0.0 |
CPE
Remediation
| |
| tenda a21 | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 23, 2026 | Initial Analysis | [email protected] |
| Feb 21, 2026 | New CVE Received | [email protected] |