CVE-2018-7445
CONFIRMED EXPLOITEDMikroTik RouterOS Stack-Based Buffer Overflow Vulnerability
Is MikroTik RouterOS affected by CVE-2018-7445?
MikroTik RouterOS is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2018-7445, added on 2022-09-08. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (13 vulnerable CPE entries): mikrotik routeros.
Published CPE version bounds mark releases below 6.41.3 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2022-09-29.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2026-67279Same productMikroTik RouterOS
Mikrotik RouterOS Improper Enforcement of Behavioral Workflow Vulnerability
- CVE-2026-86060Same productMikroTik RouterOS
MikroTik RouterOS Improper Neutralization of Argument Delimiters in a Command Vulnerability
- CVE-2026-67277Same productMikroTik RouterOS
MikroTik RouterOS Missing Authentication for Critical Function Vulnerability
- CVE-2018-14847Same productMikroTik RouterOS
MikroTik Router OS Directory Traversal Vulnerability
- CVE-2018-6530Neighboring entryD-Link Multiple Routers
D-Link Multiple Routers OS Command Injection Vulnerability
- CVE-2020-9934Neighboring entryApple iOS, iPadOS, and macOS
Apple iOS, iPadOS, and macOS Input Validation Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
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.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2022-09-08. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of RouterOS has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Perimeter appliance / gateway surface (MikroTik RouterOS): stream syslog, NetFlow, and authentication telemetry off-box to an independent collector (`Zeek`, `Suricata`, `Wazuh`) so logs survive appliance tampering. Inspect `conn.log` / `ssl.log` for unauthenticated probes against exposed VPN or management interfaces.
- Memory corruption class (CWE-119/416/787): monitor system logs (`dmesg`, `journalctl`, Windows Event ID 1000, crash dumps) for segmentation faults (`SIGSEGV`/`SIGABRT`) or worker process restarts.
- Inventory all hosts running MikroTik RouterOS and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://seclists.org/fulldisclosure/2018/Mar/38ExploitMailing ListThird Party Advisory
- http://www.securityfocus.com/bid/103427Third Party AdvisoryVDB Entry
- https://www.coresecurity.com/advisories/mikrotik-routeros-smb-buffer-overflowExploitThird Party Advisory
- https://www.exploit-db.com/exploits/44290/ExploitThird Party AdvisoryVDB Entry
- http://seclists.org/fulldisclosure/2018/Mar/38ExploitMailing ListThird Party Advisory
- http://www.securityfocus.com/bid/103427Third Party AdvisoryVDB Entry
- https://www.coresecurity.com/advisories/mikrotik-routeros-smb-buffer-overflowExploitThird Party Advisory
- https://www.exploit-db.com/exploits/44290/ExploitThird Party AdvisoryVDB Entry
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7445US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting