CVE-2024-54887

CVE-2024-54887 is a high-severity vulnerability in Tp-link Tl-wr940n Firmware with a CVSS 3.x base score of 8.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-120.

Key facts

Description

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.

Frequently asked questions

What is CVE-2024-54887?
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.
How severe is CVE-2024-54887?
CVE-2024-54887 has a CVSS 3.x base score of 8.0, rated high severity. It is exploitable over an adjacent network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2024-54887 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 5% (92nd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-54887?
CVE-2024-54887 affects Tp-link Tl-wr940n Firmware. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-54887?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2024-54887 have an EU (EUVD) identifier?
Yes. CVE-2024-54887 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-52689.
When was CVE-2024-54887 published?
CVE-2024-54887 was published on 2025-01-09 and last updated on 2026-07-05.

References

EU advisories (EUVD)

Affected products (1)

More vulnerabilities in Tp-link Tl-wr940n Firmware

All CVEs affecting Tp-link Tl-wr940n Firmware →

Other CWE-120 (Classic Buffer Overflow) vulnerabilities

Browse all CWE-120 (Classic Buffer Overflow) vulnerabilities →