Buffer Overflow Vulnerability in TP-Link WR840N Devices
CVE-2018-15172

Patch nowDenial of service over the network, no login needed.
7.5HIGH

Key Information:

Vendor

Tp-link

Vendor
CVE Published:
15 August 2018

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

How risky is it?

  • Yes: Works over the network, no login needed
  • Yes: Public exploit code (1 proof-of-concept)
  • Yes: Attacked in the wild
  • No: Not on CISA's exploited list

Our verdict

Patch now

Attackers are using it. Patch or mitigate today.

What to do

1Check the vendor's fix

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

Read the vendor advisory โ†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Tl-wr840n Firmware. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Look for signs of compromise

It has been exploited in the wild, so check logs on exposed Tl-wr840n Firmware systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.

4Why it's rated "Patch now"
  • It is being exploited in the wild.
  • Exploit code is public, so attacks are easy to copy.
  • It can be exploited remotely without credentials.
  • Its CVSS severity is high (7.5).

What is CVE-2018-15172?

The TP-Link WR840N devices are vulnerable to a buffer overflow attack stemming from the processing of overly long Authorization HTTP headers. This vulnerability could allow an attacker to execute arbitrary code on the affected devices, potentially compromising their integrity and functionality. Users of the WR840N series should be vigilant about securing their devices and checking for updates from the vendor to mitigate this risk.

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

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...

EPSS Score

8% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

.