Arbitrary Code Execution in TP-Link TL-WR940N Router Due to Buffer Overflow
CVE-2022-0650

MonitorFull system takeover with adjacent network access.
6.8MEDIUM

Key Information:

Vendor

Tp-link

Status
Vendor
CVE Published:
28 March 2023

How risky is it?

  • No: Needs adjacent network access
  • No: No public exploit code yet
  • No: No attacks seen yet
  • No: Not on CISA's exploited list

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

2Why it's rated "Monitor"
  • Its CVSS severity is medium (6.8).

What is CVE-2022-0650?

The TP-Link TL-WR940N router has a vulnerability that can be exploited by attackers on the same network, allowing them to execute arbitrary code. This flaw in the httpd service, which runs on TCP port 80, stems from inadequate validation of the length of user-supplied data before it is copied to a fixed-length buffer. By manipulating this weakness, an authenticated attacker can run code with root privileges, potentially compromising the entire device.

Affected Version(s)

TL-WR940N 3.20.1 Build 200316 Rel.34392n (5553)

References

Stack-based Buffer Overflow in TP-Link Archer AX50 Router

CVE-2025-40634
Tp-linkLink Archer Ax50👾9.2CRITICAL

Hardcoded Password Vulnerability in TP-Link Router

CVE-2024-57040
TP-LinkTL-WR845N Router👾9.8CRITICAL

Authentication Bypass in TP-Link WR840N v6 Router

CVE-2024-57050
TP-LinkWR840N v6 Router9.8CRITICAL
View more Tp-link vulnerabilities...

CVSS V3.1

Score:
6.8
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Adjacent Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

CVSS V3.0

Score:
6.8
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Adjacent Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Vadym Kolisnichenko
.