CVE-2024-54887: TP-Link Tl-WR940N Firmware

High severity, CVSS 8.0. EPSS: 5.7% chance of exploitation in the next 30 days.

TP-Link TL-WR940N V3 and V4 with firmware 3.16.9 and earlier contain a buffer overflow via the dnsserver1 and dnsserver2 parameters at /userRpm/Wan6to4TunnelCfgRpm.htm. This vulnerability allows an authenticated attacker to execute arbitrary code on the remote device in the context of the root user.

Affected products

  • TP-Link Tl-WR940N Firmware: up to and including 3.16.9

Published 2025-01-09. Last modified 2026-07-05.