CVE-2018-7445: MikroTik RouterOS Stack-Based Buffer Overflow Vulnerability

Critical severity, CVSS 9.8. Actively exploited: in CISA KEV since 2022-09-08. EPSS: 60.8% chance of exploitation in the next 30 days.

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 (fixed in 6.41.3); version 6.42 only

Published 2018-03-19. Last modified 2026-06-17.