Stack-based buffer overflow in TP-Link TL-WR940N
Key facts
- Attack vector
- Adjacent network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-121 and the CVSS impact.
Summary
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link TL-WR940N 3.20.1 Build 200316 Rel.34392n (5553) routers. Authentication is required to exploit this vulnerability. The specific flaw exists within the httpd service, which listens on TCP port 80 by default. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-13993.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| TP-Link | TL-WR940N | 3.20.1 Build 200316 Rel.34392n (5553) | — | No fix listed | CNA |
- TL-WR940N VendorTP-Link Affected 3.20.1 Build 200316 Rel.34392n (5553) Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2022-0650
- 2026-10-03 Alias added: GHSA-c55h-3vqx-vr2v
References
More TP-Link Tl-wr940n Firmware vulnerabilities
- TI-2023-16571 TP-Link TL-WR940N V2/V4, TL-WR841N V8/V10, and TL-WR740N V1/V2 was discovered to contain… KEVCVSS 3.1HIGH 8.8
- TI-2023-27456 Authentication bypass by spoofing in TP-Link TL-WR841N KEVCVSS 3.1MEDIUM 6.5
- TI-2025-05561 TP-Link TL-WR940N, TL-WR841N WanSlaacCfgRpm.htm buffer overflow CVSS 4.0HIGH 8.2
- TI-2023-18224 TP-Link TL-WR940N V4 was discovered to contain a buffer overflow via the ipStart… CVSS 3.1CRITICAL 9.9
- TI-2019-04924 TP-Link TL-WR940N is vulnerable to a stack-based buffer overflow, caused by improper… CVSS 3.0HIGH 8.8
- TI-2024-36696 TP-Link TL-WR940N V3 and V4 with firmware 3.16.9 and earlier contain a buffer overflow… CVSS 3.1HIGH 8.0
Sources
- CVE-2022-0650 · CVE Program
- CVE-2022-0650 · NVD
- FIRST EPSS
- GHSA-c55h-3vqx-vr2v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences