Buffer overflow in TP-Link Tl-Wr940n

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.

Vulnerability class: Buffer Overflow

EPSS: 0.054 (92.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.0 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-54887?
CVE-2024-54887 is a high-severity vulnerability in TP-Link Tl-Wr940n, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 8.0/10. Published 2025-01-09.
How severe is CVE-2024-54887?
High severity. CVSS v3 base score is 8.0 out of 10.
Is CVE-2024-54887 known to be exploited?
7 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.