CVE-2026-89028

MikroTik RouterOS < 7.24 Heap Corruption via SMB1 SessionSetupAndX

Published Sep 16, 2026 CVSS 4.0 · 8.2 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A heap memory corruption flaw exists in the userspace SMB daemon of MikroTik RouterOS. An attacker can send a malformed SMB1 SessionSetupAndX request with a crafted uniPwdLen field that triggers an integer underflow, causing the value to be used as a copy length for a memory copy operation into a smaller buffer. This corrupts adjacent heap memory and can enable arbitrary code execution on the device. The flaw originates from improper size validation and can lead to arbitrary code execution, denial of service, or other unintended behavior.

Affected Systems

All MikroTik RouterOS installations running a version prior to 7.24 are affected. The issue is tied to the SMB1 implementation in older RouterOS releases and is not present in 7.24 or newer.

Risk and Exploitability

The flaw has a CVSS score of 8.2, indicating high severity. The EPSS score is below 1%, suggesting a low but nonzero likelihood of exploitation in the wild. It is not listed in the CISA Known Exploited Vulnerabilities catalog, and the vulnerability requires a remote attacker to have network access to the SMB1 service, which is typically restricted or disabled by default. While the technical barriers are moderate, the potential impact warrants proactive mitigation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MikroTik RouterOS to version 7.24 or later, which contains the fix for the heap corruption flaw.
  • As a temporary measure, disable the SMB1 protocol or block SMB traffic on the device to eliminate the attack surface if an upgrade cannot be performed immediately.
  • Verify that the device’s SMB service is no longer reachable from untrusted networks and monitor logs for suspicious SMB activity to ensure the vulnerability is mitigated.

Generated by OpenCVE AI on September 18, 2026 at 02:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:o:mikrotik:routeros:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mikrotik
Mikrotik routeros
Vendors & Products Mikrotik
Mikrotik routeros
Type Values Removed Values Added
Description 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.
Title MikroTik RouterOS < 7.24 Heap Corruption via SMB1 SessionSetupAndX
Weaknesses CWE-122
CWE-191
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.2, 'vector': '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'}

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

  • CWE-191

    Integer Underflow (Wrap or Wraparound)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 1, 2026, 3:21 PM
Reserved
Sep 10, 2026, 4:23 PM
Status
Awaiting Analysis
Published
Sep 16, 2026, 2:17 PM
Modified
Sep 24, 2026, 9:04 PM