CVE-2018-7445: MikroTik RouterOS Stack-Based Buffer Overflow Vulnerability
CVE-2018-7445 is a critical-severity flaw (CVSS 9.8) affecting routeros, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 vulnera
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 65.8% (top 1%) |
| CISA exploited list | Yes, fix due 2022-09-29 |
| Weakness | CWE-119 |
| Published | 2018-03-19 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: www.coresecurity.com/advisories/mikrotik-routeros-smb-buffer-overflow
- Write-up: www.exploit-db.com/exploits/44290/
- Exploit-DB: MikroTik RouterOS < 6.41.3/6.42rc27 - SMB Buffer Overflow
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-7445?
routeros: upgrade to 6.41.3. Exact commands for each OS are on this page.
Is CVE-2018-7445 being exploited?
Yes. CVE-2018-7445 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2018-7445 affect?
CVE-2018-7445 affects routeros. Severity is critical (CVSS 9.8). 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 overflo
How urgent is CVE-2018-7445?
Priority 97/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-67279 MEDIUM 6.5 EXPLOITED UPGRADE Mikrotik RouterOS Improper Enforcement of Behavioral Workflow Vulnerability
- CVE-2026-67276 HIGH 8.1 UPGRADE RouterOS does not compare the complete RSA public key when matching an SSH authentication request to an author
- CVE-2026-67278 CRITICAL 9.1 UPGRADE MikroTik RouterOS accepts malformed RSA/PKCS#1 v1.5 signatures across RSA-based services, including TLS/X.509
- CVE-2026-67281 HIGH 7.5 UPGRADE RouterOS WebFig contains an unauthenticated file-read vulnerability in the /jsproxy path where a newly allocat
- CVE-2020-20212 MEDIUM 6.5 MITIGATE Mikrotik RouterOs 6.44.5 (long-term tree) suffers from a memory corruption vulnerability in the /nova/bin/cons