CVE-2018-7445MikroTik RouterOS
Buffer Overflow in MikroTik RouterOS SMB Service
Critical 9.8 KEV No auth neededHigh EPSS
Follow: this CVE · MikroTik · MikroTik RouterOS We alert you by email or Slack (account required).
- Priority
- 80
- CVSS 3.1
- 9.8
- EPSS
- 65.8% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- In KEV since
- Sep 8, 2022
- CISA deadline
- Sep 29, 2022
- Ransomware use
- Unknown
- Published
- Mar 19, 2018
- Updated
- Jun 17, 2026
- Category
- Network & edge · Network appliance
- Weakness (CWE)
- CWE-119
- SSVC (CISA)
- Exploitation: active · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
A buffer overflow vulnerability exists in the MikroTik RouterOS SMB service when processing NetBIOS session request messages. Unauthenticated remote attackers can exploit this flaw to achieve code execution on the system. CISA has confirmed this vulnerability is actively exploited.
Show the original NVD text
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.
Exploitation confirmed by CISA
In MikroTik RouterOS, a stack-based buffer overflow occurs when processing NetBIOS session request messages. Remote attackers with access to the service can exploit this vulnerability and gain code execution on the system.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 6.41.3, 6.42rc27
Update RouterOS to version 6.41.3 or later, or 6.42rc27 or later depending on your version branch.
- Apply the vendor's security update for RouterOS.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was September 29, 2022.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mikrotik | routeros | < 6.41.3 |
| mikrotik | routeros | 6.42 |
| mikrotik | routeros | 6.42 |
| mikrotik | routeros | 6.42 |
| mikrotik | routeros | 6.42 |
| mikrotik | routeros | 6.42 |
| mikrotik | routeros | 6.42 |
| mikrotik | routeros | 6.42 |
| mikrotik | routeros | 6.42 |
| mikrotik | routeros | 6.42 |
| mikrotik | routeros | 6.42 |
| mikrotik | routeros | 6.42 |
| mikrotik | routeros | 6.42 |
Official sources
References
Links published by the sources. Open them with care.
- seclists.org Exploit Mailing List Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- www.coresecurity.com Exploit Third Party Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.cisa.gov US Government Resource