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

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.066 (93.8th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 94th percentile — 93.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-54887: rose from 0.054 to 0.066.

EPSS over last 30 days · oldest: 0.054 · newest: 0.066 · change: +0.012

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.