CVE-2018-7445
MikroTik RouterOS Stack-Based Buffer Overflow Vulnerability
Does this matter?
Known to be exploited in the wild (CISA KEV, CISA remediation deadline 29 September 2022). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 65.83% probability · 99th percentile
- Public exploits
- 1 in Exploit-DB · first 15 March 2018
- CISA KEV
- Listed 8 September 2022 · due 29 September 2022
- Weakness
- CWE-119
- Affected
- mikrotik/routeros
- Source
- cve@mitre.org
EPSS moved from 65.8% on 25 October 2026 to 65.8% on 27 October 2026. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”.
CISA notes
Apply updates per vendor instructions. https://www.coresecurity.com/core-labs/advisories/mikrotik-routeros-smb-buffer-overflow#vendor_update, https://mikrotik.com/download; https://nvd.nist.gov/vuln/detail/CVE-2018-7445
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://seclists.org/fulldisclosure/2018/Mar/38Exploit, Mailing List, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/103427Third Party Advisory, VDB Entry
- https://www.coresecurity.com/advisories/mikrotik-routeros-smb-buffer-overflowExploit, Third Party Advisory
- https://www.exploit-db.com/exploits/44290/Exploit, Third Party Advisory, VDB Entry
- http://seclists.org/fulldisclosure/2018/Mar/38Exploit, Mailing List, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/103427Third Party Advisory, VDB Entry
- https://www.coresecurity.com/advisories/mikrotik-routeros-smb-buffer-overflowExploit, Third Party Advisory
- https://www.exploit-db.com/exploits/44290/Exploit, Third Party Advisory, VDB Entry
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7445US Government Resource
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.