CVE-2022-40071 Memory corruption in n/a
A buffer overflow in the Tenda AC21 router's httpd service allows attackers to execute arbitrary code via the formSetDeviceName parameter.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-40071?
CVE-2022-40071 is a high-severity memory corruption vulnerability in n/a, published on 19 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Tenda AC21 V 16.03.08.15 is vulnerable to Buffer Overflow via /bin/httpd, formSetDeviceName.
Weakness: CWE-787
Which versions are affected by CVE-2022-40071?
It affects 1 product.
Products include Tenda Ac21 Firmware.
How do I fix CVE-2022-40071?
No fix has been published for CVE-2022-40071 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-2022-40071 being exploited?
There is no known exploitation of CVE-2022-40071 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2025-9605 Tenda AC21/AC23 GetParentControlInfo stack-based overflow
- CVE-2023-24333 Command injection in n/a
- CVE-2026-4565 Tenda AC21 SetNetControlList formSetQosBand buffer overflow
- CVE-2026-1637 Tenda AC21 AdvSetMacMtuWan fromAdvSetMacMtuWan stack-based overflow
- CVE-2025-13445 Tenda AC21 SetIpMacBind stack-based overflow
Sources
Also known as GHSA-jpf6-5xq2-h3r9.