CVE-2018-7445 in Mikrotik Routeros
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 unauthen...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mikrotik | Routeros | 6.42 < 6.41.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Yes added 2022-09-08 |
|---|---|
| Public exploit | Reported · reference |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-7445 |
|---|---|
| BreachSpider ID | BS-2018-GLOBAL-240134-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2018-03-19 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-119: Improper Restriction of Operations within Memory Buffer
Parent class for buffer-related vulnerabilities where operations exceed buffer boundaries.
Related attack patterns (CAPEC)
CAPEC-8 Buffer Overflow in an API Call via CWE-119
CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-119
CAPEC-10 Buffer Overflow via Environment Variables via CWE-119
CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-119
CAPEC-24 Filter Failure through Buffer Overflow via CWE-119
Show all 12
CAPEC-42 MIME Conversion via CWE-119
CAPEC-44 Overflow Binary Resource File via CWE-119
CAPEC-45 Buffer Overflow via Symbolic Links via CWE-119
CAPEC-46 Overflow Variables and Tags via CWE-119
CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-119
CAPEC-100 Overflow Buffers via CWE-119
CAPEC-123 Buffer Manipulation via CWE-119
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A critical buffer overflow vulnerability exists in the MikroTik RouterOS SMB service, allowing unauthenticated remote attackers to execute arbitrary code. This affects all architectures and devices running RouterOS before versions 6.41.3/6.42rc27. Immediate action is required to mitigate the risk of exploitation.
The vulnerability is triggered by sending a specially crafted NetBIOS session request message to the SMB service. Since the overflow occurs before authentication, an unauthenticated attacker can exploit this vulnerability to gain control of the affected system.
Compensating controls AI-drafted, review before use
Implement network segmentation to isolate the affected devices from critical systems. Monitor network traffic for suspicious activity related to the SMB service.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2018-7445?
A critical buffer overflow vulnerability exists in the MikroTik RouterOS SMB service, allowing unauthenticated remote attackers to execute arbitrary code. This affects all architectures and devices running RouterOS before versions 6.41.3/6.42rc27. Immediate action is required to mitigate the risk of exploitation.
What is the CVSS score for CVE-2018-7445?
CVE-2018-7445 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 65.8%.
Is CVE-2018-7445 actively exploited?
Yes. CVE-2018-7445 is in the CISA known-exploited catalog (added 2022-09-08). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2018-7445?
Priority: IMMEDIATE.
What systems are affected by CVE-2018-7445?
CVE-2018-7445 affects Mikrotik Routeros.
What NERC-CIP standard applies to CVE-2018-7445?
NERC CIP CIP-007 CIP-007-R2: This vulnerability allows unauthorized access to the system, which could compromise the integrity and availability of critical assets, violating the requirement for secure access controls.
What IEC 62443 requirement maps to CVE-2018-7445?
IEC 62443 SR 7.6: The vulnerability exposes the system to remote code execution, which can lead to loss of control and data integrity, violating the requirement for secure communication protocols.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mikrotik","product":"Routeros","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.