CVE-2018-7445: MikroTik RouterOS Stack-Based Buffer Overflow Vulnerability
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.
| Source | Entry | Published |
|---|---|---|
| Exploit-DB | MikroTik RouterOS < 6.41.3/6.42rc27 - SMB Buffer Overflow | 15 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
- Find every copy. List each place MikroTik RouterOS runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- 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
| CVE | What it affects | Status | EPSS | Published |
|---|---|---|---|---|
| CVE-2026-67279 | MikroTik RouterOS | No public exploit found | 13.5% | 5 September 2026 |
| CVE-2026-86060 | MikroTik RouterOS | Public exploit | 88.7% | 5 September 2026 |
| CVE-2026-67277 | MikroTik RouterOS | No public exploit found | 2.5% | 5 September 2026 |
| CVE-2018-14847 | MikroTik RouterOS | Public exploit | 96.8% | 2 August 2018 |
Sources
- CVE record for CVE-2018-7445
- NVD entry
- CISA Known Exploited Vulnerabilities catalog, version 2026.12.04
- FIRST EPSS, scores dated 5 December 2026
- www.securityfocus.com (vdb-entry, x_refsource_BID)
- seclists.org (mailing-list, x_refsource_FULLDISC)
- www.exploit-db.com (exploit, x_refsource_EXPLOIT-DB)
- www.coresecurity.com (x_refsource_MISC)
Machine-readable: /api/cve/CVE-2018-7445.json