CVE-2018-15172: Buffer Overflow in TP-Link WR840N Authorization Header
- Vendor
- TP-Link
A buffer overflow vulnerability exists in TP-Link WR840N devices due to improper handling of excessively long Authorization HTTP headers. The vulnerable code fails to properly check the length of the Authorization header before copying it into a fixed-size buffer, leading to a classic stack-based buffer overflow condition.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation of this vulnerability could allow an unauthenticated remote attacker to execute arbitrary code on the device, potentially leading to full compromise of the router, including modification of settings, installation of persistent malware, or use as a pivot point for further attacks on the network.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the device's HTTP management interface to trusted networks only. Employ network segmentation and firewall rules to limit exposure. Disable remote management if not required.
Remediation
Patch, then assume compromise.
Upgrade the TP-Link WR840N firmware to a version that addresses this vulnerability. If no patch is available, contact the vendor for further guidance.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2018-15172 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2018-15172 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2018-15172?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2018-15172.
- Is there a patch for CVE-2018-15172?
- Upgrade the TP-Link WR840N firmware to a version that addresses this vulnerability. If no patch is available, contact the vendor for further guidance.
- What products are affected by CVE-2018-15172?
- TP-Link Tl-Wr840n Firmware.
- How severe is CVE-2018-15172?
- CVE-2018-15172 has a CVSS v3 score of 7.5 (High) and an EPSS score of 8.2% (95th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.