Skip to main content

MikroTik RouterOS CVE-2026-89028

| EUVDEUVD-2026-80702 HIGH
Heap-based Buffer Overflow (CWE-122)
2026-09-16 VulnCheck GHSA-2jvh-jvq5-35jq
8.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach RouterOS SMB port (445)
  2. Delivery
    Send crafted SMB1 SessionSetupAndX
  3. Exploit
    Underflow uniPwdLen integer
  4. Execution
    Oversized memcpy into small heap buffer
  5. Persist
    Corrupt adjacent heap
  6. Impact
    SMB daemon crash / DoS

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the RouterOS SMB service (IP > SMB) to be enabled and network-reachable, with SMB1/legacy dialect handling active, so the SessionSetupAndX code path can be reached - SMB is not enabled by default on RouterOS, which is the primary limiting factor. When SMB is enabled, exploitation is remote and unauthenticated (PR:N/UI:N): the attacker simply sends a crafted SMB1 request with a malicious uniPwdLen value; no credentials or user interaction are needed. Affected: RouterOS before 7.24 (fixed in 7.24). The AT:P in the vendor vector suggests some condition (e.g., heap layout) affects reliable corruption.

Impact

This is a genuine unauthenticated network-reachable memory-corruption bug (CVSS 4.0 8.2, AV:N/AC:L/PR:N/UI:N) in RouterOS's userspace SMB daemon, reported by VulnCheck with a vendor patch already shipped in RouterOS 7.24. The vendor vector scores impact as availability-only (VC:N/VI:N/VA:H) with an attack requirement present (AT:P), meaning the demonstrated/claimed outcome is a heap-corruption-induced crash/DoS rather than confirmed code execution - despite the CWE-122 heap overflow class often being a code-execution primitive. No EPSS score, no CISA KEV listing, and no public POC are present in the provided data, so exploitation status is 'no public exploit identified at time of analysis'; the threat is currently theoretical/latent rather than confirmed active. The key real-world risk driver is not the CVSS number but exposure: RouterOS is very widely deployed, but the vulnerable SMB service is NOT enabled by default, which sharply narrows the realistically exploitable population. Note the availability-only scoring is a conservative floor - a heap-corruption bug of this type could plausibly be escalated to memory disclosure or RCE, so treat VA:H-only as the vendor's confirmed impact, not a guaranteed ceiling; verify with the VulnCheck advisory.

Exploit ScenarioDerived

An attacker with network reach to a RouterOS device that has the SMB service enabled sends a malformed SMB1 SessionSetupAndX request carrying a crafted uniPwdLen field that triggers an integer underflow, so an oversized length is used as the copy size into a smaller heap buffer, corrupting adjacent heap memory and crashing (or potentially destabilizing) the SMB daemon. No authentication or user interaction is required. No public exploit code is identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

Heap memory corruption in the userspace SMB daemon of MikroTik RouterOS before 7.24 lets remote, unauthenticated attackers crash or destabilize the service by sending a crafted SMB1 SessionSetupAndX request whose uniPwdLen field triggers an integer underflow and an oversized copy into a smaller heap buffer (CWE-122). The independently assessed vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) rates this as an availability-only impact - adjacent heap corruption in a userspace daemon, not a confirmed path to code execution - and the primary limiting factor is that the SMB service is not enabled by default on RouterOS. No public exploit code has been identified at time of analysis, and exploitation requires the SMB service to be enabled and network-reachable with legacy SMB1 dialect handling active; a vendor fix shipped in RouterOS 7.24.

RemediationAI

Vendor-released patch: upgrade RouterOS to 7.24 or later via the standard package update path (/system package update install or manual package upload), and verify the installed version after reboot; the fix is documented in MikroTik's 7.24 stable release thread at https://forum.mikrotik.com/t/7-24-stable-is-released/272381, with technical detail in the VulnCheck advisory at https://www.vulncheck.com/advisories/mikrotik-routeros-heap-corruption-via-smb1-sessionsetupandx. Because SMB is disabled by default, the highest-value compensating control is to leave it disabled or explicitly turn it off where file sharing is not required (under 'IP > SMB', set enabled=no), accepting that any SMB-dependent file-sharing or NAS workflow will break. Where SMB must stay enabled until patching is possible, restrict reachability with firewall rules that drop TCP 445 and 139 from untrusted zones and permit only specific management or storage subnets, understanding that this narrows but does not eliminate exposure from sources inside the permitted range; additionally, disabling legacy SMB1 dialect support where the implementation permits it removes the vulnerable SessionSetupAndX code path. Monitor the SMB daemon for crash/restart events as a possible indicator of attempted exploitation, and treat successful patching to 7.24 as the only complete fix.

Affected VersionsENISA

RouterOS 0 ≤6.49.18
RouterOS 7.0.0 ≤7.11.2

Affected Packages

euvd routeros no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RouterOS is MikroTik's Linux-based router/NAS operating system, and the affected component is its userspace SMB (SMB/CIFS file-sharing) daemon, which exposes the 'IP > SMB' service that administrators must explicitly enable. The bug lives in the SMB1 SessionSetupAndX request handler, part of the legacy SMB1 dialect code path. The attacker-supplied uniPwdLen field is used in a length computation that underflows (CWE-191-style integer bug feeding into CWE-122, a heap-based buffer overflow): the resulting underflowed value is passed as the copy length to a memory copy operation that writes into a heap buffer sized from a different, smaller calculation, so the copy overruns the allocation and corrupts adjacent heap metadata and objects. Because the corruption is in a userspace daemon rather than the kernel, and because the provided CVSS 4.0 vector records VC:N/VI:N/VA:H with AT:P, the demonstrated consequence is service crash/availability loss, with the AT:P (attack requirements present, e.g. heap layout) signaling that reliable exploitation is not trivial. CPE cpe:2.3:a:mikrotik:routeros:*:*:*:*:*:*:*:* with a wildcard version indicates all RouterOS releases prior to the fixed 7.24 build are in scope; reporting comes from VulnCheck.

Know when Routeros gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Unauthenticated remote request to the SMB daemon (AV:N/PR:N/UI:N); crafted length deterministically triggers the underflow (AC:L); confirmed impact is a crash, so A:H with C:N/I:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

MikroTik RouterOS before 7.24 contains a heap memory corruption vulnerability in the userspace SMB daemon that allows remote attackers to corrupt adjacent heap memory by supplying a crafted uniPwdLen value in the SMB1 SessionSetupAndX handler. An attacker can send a malformed SMB1 request with a uniPwdLen field that triggers an integer underflow, causing the resulting value to be used as the copy length in a memory copy operation into a smaller heap buffer, corrupting adjacent heap memory.

Executive ViewAI

Why It Matters

A memory-corruption flaw in the SMB service of MikroTik RouterOS (versions before 7.24) allows any network-reachable, unauthenticated party to crash or destabilize the router's file-sharing daemon. Because RouterOS powers edge routing, VPN, and branch connectivity for many organizations, an outage on these devices can interrupt business operations and remote access even though the defect does not permit data theft or code execution. Leadership should care because the fix is already available and the exposure is entirely configuration-dependent - organizations that have enabled legacy SMB on internet-facing routers carry the most risk.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 55% exploitable
Prevalence
High
RouterOS runs on millions of MikroTik routers across ISPs and SMBs worldwide
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

CVE-2026-86060 CRITICAL POC
9.2 Sep 05

Privilege escalation in MikroTik RouterOS lets a remote, unauthenticated attacker abuse the SSH login helper to rewrite

CVE-2026-67277 HIGH POC
8.8 Sep 05

Remote unauthenticated exploitation of MikroTik RouterOS's Bandwidth Test (btest) service allows two distinct attacks: k

CVE-2026-67279 MEDIUM POC
6.9 Sep 05

SSH authentication bypass in MikroTik RouterOS allows any unauthenticated network attacker to skip the entire SSH user-a

CVE-2017-7285 HIGH POC
7.5 Mar 29

A vulnerability in the network stack of MikroTik Version 6.38.5 released 2017-03-09 could allow an unauthenticated remot

CVE-2017-6444 HIGH POC
7.5 Mar 12

The MikroTik Router hAP Lite 6.25 has no protection mechanism for unsolicited TCP ACK packets in the case of a fast netw

CVE-2022-34960 CRITICAL POC
9.8 Aug 25

The container package in MikroTik RouterOS 7.4beta4 allows an attacker to create mount points pointing to symbolic links

CVE-2018-7445 CRITICAL POC
9.8 Mar 19

A buffer overflow was found in the MikroTik RouterOS SMB service when processing NetBIOS session request messages. Rated

CVE-2026-67276 CRITICAL POC
9.2 Sep 05

Authentication bypass in MikroTik RouterOS lets a remote unauthenticated attacker log in over SSH as an authorized user

CVE-2018-14847 CRITICAL POC
9.1 Aug 02

MikroTik RouterOS through 6.42 allows unauthenticated remote attackers to read arbitrary files and remote authenticated

CVE-2022-45313 HIGH POC
8.8 Dec 05

Mikrotik RouterOs before stable v7.5 was discovered to contain an out-of-bounds read in the hotspot process. Rated high

CVE-2018-1156 HIGH POC
8.8 Aug 23

Mikrotik RouterOS before 6.42.7 and 6.40.9 is vulnerable to stack buffer overflow through the license upgrade interface.

CVE-2026-67281 HIGH POC
8.7 Sep 05

Unauthenticated file read in MikroTik RouterOS WebFig exposes root-owned configuration files - including credential stor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy