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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MikroTik | RouterOS | ≤ 6.49.18, 7.0.0 – ≤ 7.11.2 | 7.24.0 |
Advisories 1
- WID-SEC-2026-3436 MikroTik RouterOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 16, 2026
References
- Release Notes vendor-advisory patch
- https://www.vulncheck.com/advisories/mikrotik-routeros-heap-corruption-via-smb1-sessionsetupandx third-party-advisory