CVE-2018-5721: asuswrt-merlin Out-of-bounds Write
Vulnerability summary
CVE-2018-5721 is a high (CVSS 8.8) Out-of-bounds Write vulnerability in asuswrt-merlin. EPSS estimates a 1.94% chance of exploitation in the next 30 days, higher than 80.8% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 17-01-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 1 source · 2 versionsEPSS trend
Probability
1.94%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.94% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (w0lfzhang.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Asuswrt-merlin1 product
- asuswrt-merlin≤ 382.1_2
1 vendor · 1 product
References
1 links- www.w0lfzhang.com/2018/01/17/ASUS-router-stack-overflow-in-http-server/X Refsource MISCExploitThird Party Advisory