What’s Vulnerable › Vulnerabilities
CVE-2018-7445: MikroTik RouterOS Stack-Based Buffer Overflow Vulnerability
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: yes — in CISA KEV since 2022-09-08
- EPSS: 65.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-03-19 · updated 2026-06-17
- Weakness: CWE-119
Description
A buffer overflow was found in the MikroTik RouterOS SMB service when processing NetBIOS session request messages. Remote attackers with access to the service can exploit this vulnerability and gain code execution on the system. The overflow occurs before authentication takes place, so it is possible for an unauthenticated remote attacker to exploit it. All architectures and all devices running RouterOS before versions 6.41.3/6.42rc27 are vulnerable.
Affected products
- MikroTik RouterOS: before 6.41.3; 6.42-rc11, 6.42-rc12, 6.42-rc14, 6.42-rc15, 6.42-rc18, 6.42-rc2 (+6) — fixed in 6.41.3
How to fix
Upgrade to a fixed version: MikroTik RouterOS 6.41.3. Check the vendor advisory for mitigations.
References
- http://seclists.org/fulldisclosure/2018/Mar/38
- http://www.securityfocus.com/bid/103427
- https://www.coresecurity.com/advisories/mikrotik-routeros-smb-buffer-overflow
- https://www.exploit-db.com/exploits/44290/
- http://seclists.org/fulldisclosure/2018/Mar/38
- http://www.securityfocus.com/bid/103427
- https://www.coresecurity.com/advisories/mikrotik-routeros-smb-buffer-overflow
- https://www.exploit-db.com/exploits/44290/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7445
Get alerted when CVE-2018-7445 or the next vulnerability affects your stack