# CVE-2018-5721

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2018-01-17 · Modified: 2024-08-05
- Record: https://cvemate.com/vulnerability/CVE-2018-5721 · JSON: https://cvemate.com/vulnerability/CVE-2018-5721/json

## Description

```text
Stack-based buffer overflow in the ej_update_variables function in router/httpd/web.c on ASUS routers (when using software from https://github.com/RMerl/asuswrt-merlin) allows web authenticated attackers to execute code via a request that updates a setting. In ej_update_variables, the length of the variable action_script is not checked, as long as it includes a "_wan_if" substring.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.938%, percentile 80.818%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- asuswrt-merlin asuswrt-merlin: ≤ 382.1\_2

## References

- <http://www.w0lfzhang.com/2018/01/17/ASUS-router-stack-overflow-in-http-server/>

---

Data as of 2026-12-05T13:33:20.086Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
