Read the docs
TI-2022-08233 Aliases CVE-2022-24355GHSA-qpq6-p42w-r7mg

Stack-based buffer overflow in TP-Link TL-WR940N

Priority MEDIUM 42CWE-121Published · Updated

Key facts

Attack vector
Adjacent network
Privileges required
None
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 not required to exploit this vulnerability. The specific flaw exists within the parsing of file name extensions. 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-13910.

Why it matters now

EPSS 0.02058 81st percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
TP-LinkTL-WR940N3.20.1 Build 200316 Rel.34392n (5553)—No fix listedCNA
  • TL-WR940N VendorTP-Link Affected 3.20.1 Build 200316 Rel.34392n (5553) Fixed in — No fix listed CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:o:tp-link:tl-wr940n_firmware:*:*:*:*:*:*:*:*before 211111VulnerableTP-Link
cpe:2.3:h:tp-link:tl-wr940n:-:*:*:*:*:*:*:*not specified by NVDRunning onTP-Link
  • cpe:2.3:o:tp-link:tl-wr940n_firmware:*:*:*:*:*:*:*:* Versions before 211111 Vulnerable ·TP-Link
  • cpe:2.3:h:tp-link:tl-wr940n:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·TP-Link

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-24355
  2. 2026-10-03 Alias added: GHSA-qpq6-p42w-r7mg

References

  • 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
See all 21 →

Sources