CVE-2018-1156 Memory corruption in n/a
A remote authenticated attacker can execute arbitrary code via a stack buffer overflow in the license upgrade interface of Mikrotik RouterOS.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-1156?
CVE-2018-1156 is a high-severity memory corruption vulnerability in Mikrotik Routeros, published on 23 Aug 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Mikrotik RouterOS before 6.42.7 and 6.40.9 is vulnerable to stack buffer overflow through the license upgrade interface. This vulnerability could theoretically allow a remote authenticated attacker execute arbitrary code on the system.
Weakness: CWE-787
Which versions are affected by CVE-2018-1156?
It affects 1 product.
Products include Mikrotik Routeros.
How do I fix CVE-2018-1156?
No fix has been published for CVE-2018-1156 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-1156 being exploited?
There is no known exploitation of CVE-2018-1156 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Mikrotik Routeros
- CVE-2018-7445 MikroTik RouterOS Stack-Based Buffer Overflow
- CVE-2026-86060 MikroTik RouterOS Improper Neutralization of Argument Delimiters in a Command
- CVE-2018-14847 MikroTik Router OS Directory Traversal
- CVE-2026-67277 MikroTik RouterOS Missing Authentication for Critical Function
- CVE-2026-67279 Mikrotik RouterOS Improper Enforcement of Behavioral Workflow
Sources
Also known as GHSA-m6gp-7pqc-8gc5.