CVE-2019-6989 Memory corruption in n/a

High 8.8 Published Updated

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.

Sources

Also known as GHSA-hr74-2752-vc9x.

Is CVE-2019-6989 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free