Skip to content
Server Security Center
KEVcritical9.8

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

MikroTik RouterOS · listed in the CISA catalog of actively exploited vulnerabilities since 2022-09-08.

CVSS v3.1 (CISA ADP)
9.8
critical
EPSS (exploit probability, 30 days)
66%
higher than 99.2% of all CVEs
Added to CISA KEV
2022-09-08
US federal due date 2022-09-29
Automatable (CISA SSVC)
yes
technical impact: total

What is CVE-2018-7445?

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.

How to fix it

  • The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
  • Vendor advisory: mikrotik.com/download
  • CISA's deadline for US federal agencies: 2022-09-29 (passed) – a useful benchmark for everyone else, too.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
Yes – attackers can automate it at scale
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.