CVE-2019-6989 Memory corruption in n/a
A remote authenticated attacker can execute arbitrary code with elevated privileges on TP-Link TL-WR940N routers via a stack-based buffer overflow in ICMP handling.
- 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-2019-6989?
CVE-2019-6989 is a high-severity memory corruption vulnerability in n/a, published on 6 Jun 2019. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
TP-Link TL-WR940N is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the ipAddrDispose function. By sending specially crafted ICMP echo request packets, a remote authenticated attacker could overflow a buffer and execute arbitrary code on the system with elevated privileges.
Weakness: CWE-787
Which versions are affected by CVE-2019-6989?
It affects 2 products.
Products include Tp-Link Tl-Wr940n Firmware, Tp-Link Tl-Wr941nd Firmware.
How do I fix CVE-2019-6989?
No fix has been published for CVE-2019-6989 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-2019-6989 being exploited?
There is no known exploitation of CVE-2019-6989 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
- CVE-2023-36355 Memory corruption in n/a
- CVE-2022-24355 Memory corruption in TL-WR940N
- CVE-2026-11409 OS Command Injection in IPv6 PPPoE Configuration in TP-Link TL-WR940N
- CVE-2026-11410 OS Command Injection in BigPond Cable (BPA) Configuration in TP-Link TL-WR940N
- CVE-2025-6151 TP-Link TL-WR940N, TL-WR841N WanSlaacCfgRpm.htm buffer overflow
Sources
Also known as GHSA-hr74-2752-vc9x.