CVE-2026-2874 Tenda A21 fast_setting_wifi_set form_fast_setting_wifi_set stack-based overflow

High 8.7 Published Updated

Remote attackers can trigger a stack-based buffer overflow in the Tenda A21 router via the ssid argument, potentially leading to code execution or service disruption.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-2874?

CVE-2026-2874 is a high-severity memory corruption vulnerability in Tenda A21, published on 21 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A flaw has been found in Tenda A21 1.0.0.0. Impacted is the function form_fast_setting_wifi_set of the file /goform/fast_setting_wifi_set. Executing a manipulation of the argument ssid can lead to stack-based buffer overflow. It is possible to launch the attack remotely. The exploit has been published and may be used.

Weakness: CWE-121, CWE-119

Which versions are affected by CVE-2026-2874?

It affects 1 product.

Products include Tenda A21 Firmware.

How do I fix CVE-2026-2874?

No fix has been published for CVE-2026-2874 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-2874 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-2874 exists.

Sources

Also known as GHSA-mq2p-gcxf-x8gf.

Is CVE-2026-2874 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free