# CVE-2024-5242: TP-Link Omada ER605 Stack-based Buffer Overflow Remote Code Execution Vulnerability

- Severity: High 7.5 (CVSS:3.0, scored by zdi) `CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 58% of CVEs (2026-12-01)
- Published: 2024-05-23T21:55:59.756Z
- Modified: 2026-06-17T08:15:31.030Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: zdi

## Description

TP-Link Omada ER605 Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link Omada ER605 routers. Authentication is not required to exploit this vulnerability. However, devices are vulnerable only if configured to use the Comexe DDNS service.

The specific flaw exists within the handling of DDNS error codes. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-22522.

(As written by CVE List.)

## Affected

- TP-Link Omada ER605: 2.6_2.2.2 Build 20231017
- tp_link omada_er605: 2.6_2.2.2_build_20231017
- tp-link omada_er605_firmware: 2.2.2

## Every score

- zdi: CVSS:3.0 7.5 High `CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-24-501/> (third-party-advisory)

## Sources

- CVE List: [CVE-2024-5242](https://www.cve.org/CVERecord?id=CVE-2024-5242), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-5242](https://nvd.nist.gov/vuln/detail/CVE-2024-5242), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5242 · Whole record: https://cve.day/CVE-2024-5242.json · Rebuilt by cve.day 2026-11-25T22:58:40.797Z
