CVE-2026-112158

MikroTik RouterOS ipt_SAME.ko same_check integer overflow

Published Oct 19, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability is an integer overflow in the same_check function of the ipt_SAME.ko kernel module. This overflow could corrupt internal counters, which may lead to a crash or loss of service. Although the advisory does not describe a code‑execution path, it is inferred from the nature of the flaw that the overflow could jeopardize the router’s availability and integrity.

Affected Systems

MikroTik RouterOS firmware versions up to 6.40.5, 6.44, and 7.20.8 are affected. The flaw resides in the ipt_SAME.ko module shipped with these releases, so every device running an affected version is at risk unless the firmware has been updated.

Risk and Exploitability

The CVSS score of 7.1 places this flaw in the high severity range, indicating significant potential impact. The attack can be launched remotely, allowing an adversary to send a malicious packet without local privileges. The EPSS score is not available and the vulnerability is not listed in CISA KEV. Based on the remote nature and high CVSS score, it is inferred that motivated attackers could exploit this weakness, especially if network traffic is not filtered for suspicious patterns.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the device to RouterOS 7.21.5 or later, such as 7.23.1, which contains the fix for the integer overflow in ipt_SAME.ko.
  • An interim workaround is to disable or remove the ipt_SAME.ko module through configuration or by uninstalling the associated firewall rules, which may prevent remote packets from triggering the overflow.
  • Continuously monitor traffic logs for anomalous packets that may attempt to exploit the same_check logic and apply additional firewall rules to block traffic containing suspicious patterns.

Generated by OpenCVE AI on October 19, 2026 at 17:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description 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.
Title MikroTik RouterOS ipt_SAME.ko same_check integer overflow
First Time appeared Mikrotik
Mikrotik routeros
Weaknesses CWE-189
CWE-190
CPEs cpe:2.3:o:mikrotik:routeros:*:*:*:*:*:*:*:*
Vendors & Products Mikrotik
Mikrotik routeros
References
Metrics cvssV2_0

{'score': 6.8, 'vector': 'AV:N/AC:L/Au:S/C:N/I:N/A:C/E:ND/RL:OF/RC:C'}

cvssV3_0

{'score': 6.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:X/RL:O/RC:C'}

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:X/RL:O/RC:C'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Oct 19, 2026, 5:09 PM
Reserved
Oct 19, 2026, 7:05 AM
Status
Deferred
Published
Oct 19, 2026, 4:17 PM
Modified
Oct 19, 2026, 8:43 PM