Read the docs

Integer overflow in MikroTik RouterOS ipt_SAME.ko same_check

Priority LOW 31CWE-189Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-189 and the CVSS impact.

Summary

MikroTik RouterOS versions up to 6.40.5, 6.44 and 7.20.8 are affected. A manipulation of the same_check function in the ipt_SAME.ko file causes an integer overflow (CWE-190). A remote attacker with low privileges can impact the availability of the device. The flaw is not listed in CISA KEV and no public exploit is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

Description from the CNA

A weakness has been identified in MikroTik RouterOS up to 6.40.5/6.44/7.20.8. Impacted is the function same_check of the file ipt_SAME.ko. Executing a manipulation can lead to integer overflow. The attack may be launched remotely. Upgrading to version 7.21.5 and 7.23.1 is recommended to address this issue. You should upgrade the affected component.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00334 26th percentileScored 2026-11-07
Fix Fixed RouterOS (MikroTik): 7.21.5, 7.23.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
MikroTikRouterOS6.0; 6.1; 6.2; 6.3; 6.4; 6.5; 6.6; 6.7; 6.8; 6.9; 6.10; 6.11; 6.12; 6.13; 6.14; 6.15; 6.16; 6.17; 6.18; 6.19; 6.20; 6.21; 6.22; 6.23; 6.24; 6.25; 6.26; 6.27; 6.28; 6.29; 6.30; 6.31; 6.32; 6.33; 6.34; 6.35; 6.36; 6.37; 6.38; 6.39; 6.40; 6.40.0; 6.40.1; 6.40.2; 6.40.3; 6.40.4; 6.40.5; 6.41; 6.42; 6.43; 6.44; 7.20.0; 7.20.1; 7.20.2; 7.20.3; 7.20.4; 7.20.5; 7.20.6; 7.20.7; 7.20.87.21.5, 7.23.1Patch availableCNA
  • RouterOS VendorMikroTik Affected 6.0; 6.1; 6.2; 6.3; 6.4; 6.5; 6.6; 6.7; 6.8; 6.9; 6.10; 6.11; 6.12; 6.13; 6.14; 6.15; 6.16; 6.17; 6.18; 6.19; 6.20; 6.21; 6.22; 6.23; 6.24; 6.25; 6.26; 6.27; 6.28; 6.29; 6.30; 6.31; 6.32; 6.33; 6.34; 6.35; 6.36; 6.37; 6.38; 6.39; 6.40; 6.40.0; 6.40.1; 6.40.2; 6.40.3; 6.40.4; 6.40.5; 6.41; 6.42; 6.43; 6.44; 7.20.0; 7.20.1; 7.20.2; 7.20.3; 7.20.4; 7.20.5; 7.20.6; 7.20.7; 7.20.8 Fixed in 7.21.5, 7.23.1 Patch available CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:o:mikrotik:routeros:*:*:*:*:*:*:*:*——MikroTik
  • cpe:2.3:o:mikrotik:routeros:*:*:*:*:*:*:*:* Versions — — ·MikroTik

Remediation

Upgrade MikroTik RouterOS to version 7.21.5 or 7.23.1, which fix this issue.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

  • Fix · CNA RouterOS (MikroTik) Fixed in 7.21.5, 7.23.1

Timeline

  1. 2026-10-19 Threatist record created from CVE-2026-112158
  2. 2026-10-19 CISA SSVC decision points changed
  3. 2026-10-19 Priority changed: MEDIUM → LOW
  4. 2026-10-20 Alias added: GHSA-99hw-pp85-5wcr

References

  • TI-2018-05369 A buffer overflow was found in the MikroTik RouterOS SMB service when processing NetBIOS… KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-58872 SSH session privilege manipulation via a crafted username in Mikrotik RouterOS KEVCVSS 4.0CRITICAL 9.2
  • TI-2018-10669 MikroTik RouterOS through 6.42 allows unauthenticated remote attackers to read arbitrary… KEVCVSS 3.1CRITICAL 9.1
  • TI-2026-47574 Kernel memory disclosure and denial of service in MikroTik RouterOS btest service KEVCVSS 4.0HIGH 8.8
  • TI-2026-47576 SSH Pre-Authentication Rekey State Bypass in MikroTik RouterOS KEVCVSS 4.0MEDIUM 6.9
  • TI-2022-22302 Out-of-bounds read in MicroTik RouterOS CVSS 3.1CRITICAL 9.8
See all 108 →

Sources