draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

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

Exploited in attacksPublic exploit code

Yes. CVE-2018-7445 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 8 September 2022. Public exploit code is available: 1 Exploit-DB entry. EPSS puts the chance of further exploitation attempts in the next 30 days at 65.8%.

Exploited in real attacks
Yes. On CISA's exploited list since 8 September 2022
Used in ransomware
Not known
Public exploit code
1 Exploit-DB entry
Chance of exploitation (EPSS)
65.8% in the next 30 days, higher than 99.3% of scored vulnerabilities. Scored 5 December 2026
Severity (CVSS)
9.8 Critical (version 3.1)
Affects
MikroTik RouterOS
Type of flaw
Memory buffer error (CWE-119)
Published
19 March 2018
US federal patch deadline
29 September 2022

What it is

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.

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.

Description from the CVE record.

Is CVE-2018-7445 being exploited?

Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2018-7445 on 8 September 2022. That was 4 years after the CVE was published, so attackers are still finding unpatched systems long after the fix.

Public exploit code

These are public references that anyone, including an attacker, can find. Their existence lowers the skill needed to use the flaw.

SourceEntryPublished
Exploit-DBMikroTik RouterOS < 6.41.3/6.42rc27 - SMB Buffer Overflow15 March 2018

What to do

CISA's required action: Apply updates per vendor instructions.

Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.

How to check whether you are exposed

  1. Find every copy. List each place MikroTik RouterOS runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.

HackDrill

Find out whether this is reachable in your systems.

A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in RouterOS. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.

Other tracked vulnerabilities in MikroTik products

CVEWhat it affectsStatusEPSSPublished
CVE-2026-67279MikroTik RouterOSNo public exploit found13.5%5 September 2026
CVE-2026-86060MikroTik RouterOSPublic exploit88.7%5 September 2026
CVE-2026-67277MikroTik RouterOSNo public exploit found2.5%5 September 2026
CVE-2018-14847MikroTik RouterOSPublic exploit96.8%2 August 2018

Sources

Machine-readable: /api/cve/CVE-2018-7445.json