CVE-2026-2872

Tenda A21 MAC Filtering Configuration Endpoint setBlackRule set_device_name stack-based overflow

Published Feb 21, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
A security vulnerability has been detected in Tenda A21 1.0.0.0. This vulnerability affects the function set_device_name of the file /goform/setBlackRule of the component MAC Filtering Configuration Endpoint. Such manipulation of the argument devName/mac leads to stack-based buffer overflow. The attack may be performed from remote. The exploit has been disclosed publicly and may be used.

Analysis

AI-generated

Technical impact

The vulnerability exists in Tenda A21 firmware 1.0.0.0 within the /goform/setBlackRule endpoint used for MAC filtering configuration. Manipulating the devName/mac argument can overflow a stack buffer, potentially allowing an attacker to overwrite return addresses and execute arbitrary code. This is a stack‑based buffer overflow (CWE‑119) and can be escalated to a control‑flow takeover (CWE‑121). According to the CVE description, the exploit can be performed remotely when the device is reachable over the network.

Affected Systems

Affected vendor is Tenda, product A21 with firmware version 1.0.0.0. The defect resides in the function set_device_name invoked by the MAC Filtering Configuration Endpoint. The CPE entries confirm the product and firmware version.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity vulnerability, and while the EPSS score is low (<1%), the existence of a publicly disclosed exploit increases the practical risk. The attack vector is remote, meaning an adversary only needs network connectivity to the device. Because the flaw allows code execution, the potential for full device compromise is significant.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the device firmware to the latest version released by Tenda that contains a fix for the stack‑based buffer overflow in the MAC Filtering endpoint.
  • Restrict or disable external access to the /goform/setBlackRule endpoint by configuring firewall rules or by disabling remote management features on the router.
  • Limit local network exposure by isolating the router’s management interface on a dedicated VLAN and restricting management access to trusted IP ranges.

Generated by OpenCVE AI on April 17, 2026 at 16:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Tenda a21 Firmware
CPEs cpe:2.3:h:tenda:a21:-:*:*:*:*:*:*:*
cpe:2.3:o:tenda:a21_firmware:1.0.0.0:*:*:*:*:*:*:*
Vendors & Products Tenda a21 Firmware
Type Values Removed Values Added
First Time appeared Tenda
Tenda a21
Vendors & Products Tenda
Tenda a21
Type Values Removed Values Added
Description A security vulnerability has been detected in Tenda A21 1.0.0.0. This vulnerability affects the function set_device_name of the file /goform/setBlackRule of the component MAC Filtering Configuration Endpoint. Such manipulation of the argument devName/mac leads to stack-based buffer overflow. The attack may be performed from remote. The exploit has been disclosed publicly and may be used.
Title Tenda A21 MAC Filtering Configuration Endpoint setBlackRule set_device_name stack-based overflow
Weaknesses CWE-119
CWE-121
References
Metrics cvssV2_0

{'score': 9, 'vector': 'AV:N/AC:L/Au:S/C:C/I:C/A:C/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 8.8, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-121

    Stack-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Feb 23, 2026, 7:39 PM
Reserved
Feb 20, 2026, 2:40 PM
Status
Analyzed
Published
Feb 21, 2026, 4:16 PM
Modified
Jun 17, 2026, 10:31 AM