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
- Severity: High (CVSS 3.x base score 8.0)
- EPSS exploit prediction: 5% (92nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-52689
- Weakness: CWE-120
- Affected product: Tp-link Tl-wr940n Firmware
- Published:
- Last modified:
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)
- cpe:2.3:o:tp-link:tl-wr940n_firmware:*:*:*:*:*:*:*:*
More vulnerabilities in Tp-link Tl-wr940n Firmware
- CVE-2023-36355 — Critical (CVSS 9.9): TP-Link TL-WR940N V4 was discovered to contain a buffer overflow via the ipStart parameter at…
- CVE-2023-33538 — High (CVSS 8.8): TP-Link TL-WR940N V2/V4, TL-WR841N V8/V10, and TL-WR740N V1/V2 was discovered to contain a command injection…
- CVE-2022-43636 — High (CVSS 8.8): This vulnerability allows network-adjacent attackers to bypass authentication on affected installations of TP-Link…
- CVE-2022-24355 — High (CVSS 8.8): This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link…
- CVE-2019-6989 — High (CVSS 8.8): TP-Link TL-WR940N is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the…
- CVE-2025-6151 — High (CVSS 8.2): A vulnerability has been found in TP-Link TL-WR940N V4 and TL-WR841N V11. Affected by this issue is some unknown…
All CVEs affecting Tp-link Tl-wr940n Firmware →
Other CWE-120 (Classic Buffer Overflow) vulnerabilities
- CVE-2025-48611 — Critical (CVSS 10.0): In DeviceId of DeviceId.java, there is a possible desync in persistence due to a missing bounds check. This could lead…
- CVE-2026-24823 — Critical (CVSS 10.0): Out-of-bounds Write, Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in FASTSHIFT…
- CVE-2026-24810 — Critical (CVSS 10.0): Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in rethinkdb (src/cjson modules).…
- CVE-2026-24800 — Critical (CVSS 10.0): Out-of-bounds Write, Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in tildearrow…
- CVE-2025-9962 — Critical (CVSS 10.0): A buffer overflow vulnerability in Novakon P series allows attackers to gain root permission without prior…
- CVE-2010-10016 — Critical (CVSS 10.0): BS.Player version 2.57 (build 1051) contains a vulnerability in its playlist import functionality. When processing .m3u…
Browse all CWE-120 (Classic Buffer Overflow) vulnerabilities →