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.
Severity (CVSS)
| Base score | 8.2 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-122 — Heap-based Buffer Overflow
- CWE-191 — Integer Underflow (Wrap or Wraparound)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| MikroTik | RouterOS | 0 to <=6.49.18; 7.0.0 to <=7.11.2; 7.24.0 |
References
- https://forum.mikrotik.com/t/7-24-stable-is-released/272381 (vendor-advisory patch)
- https://www.vulncheck.com/advisories/mikrotik-routeros-heap-corruption-via-smb1-sessionsetupandx (third-party-advisory)
Generated from the official CVE List on 17 Sep 2026 07:04 UTC.