Skip to main content

MikroTik RouterOS EUVDEUVD-2026-104417

| CVE-2026-112158 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-10-19 VulDB GHSA-99hw-pp85-5wcr
7.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to RouterOS management plane
  2. Exploit
    Configure crafted SAME firewall/NAT rule
  3. Execution
    Trigger integer overflow in same_check (ipt_SAME.ko)
  4. Impact
    Crash or brick device (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated session (PR:L) on a RouterOS device with privileges to add/modify firewall or NAT rules, plus the ability to install an ipt_SAME (SAME target) rule carrying the manipulated range/count value that overflows in same_check; the management plane must be reachable over the network (AV:N, e.g., Winbox/API/SSH). Limiting factors: exploitation is not anonymous - valid credentials with firewall-config permission are mandatory, and impact is confined to availability (device crash/brick) with no confidentiality or integrity effect, so the realistic risk is insider misuse or post-credential-compromise disruption rather than mass unauthenticated exploitation.

Impact

Signals are moderate and largely consistent rather than alarming. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with an availability-only impact (VA:H, VC:N/VI:N) describes a network-reachable but authenticated denial-of-service / device-brick condition, which aligns with CWE-190 (integer overflow) in the ipt_SAME.ko netfilter module and with the 'brick' reference title. No EPSS score was supplied, the CVE is NOT in CISA KEV, and no POC flag was set in the input, so exploitation status is 'no public exploit identified at time of analysis' - although a third-party GitHub write-up (MeetFireAgain) is referenced, its contents and whether it includes working exploit code are not confirmed from the input. The practical risk is bounded by the PR:L requirement: an attacker must already be authenticated with rights to configure firewall/NAT rules, which substantially limits the exploit population to insiders or attackers who have already obtained credentials. Conflict/caveat to verify: the description states 'the attack may be launched remotely' and the vector is AV:N, but the root cause is a kernel module reached through firewall-rule configuration (same_check is the rule-check path), so 'remote' here means via the network-exposed management plane by an authenticated operator, not anonymous internet exploitation - verify management-plane exposure and user privilege model with MikroTik. Net: a real but medium-priority patch item (availability only, authenticated), not a critical unauthenticated RCE.

Exploit ScenarioDerived

An attacker who already holds RouterOS credentials with firewall/NAT configuration rights connects to the device's network-exposed management interface (Winbox/API/SSH) and installs a crafted iptables SAME-target rule with manipulated range parameters. The same_check validation path in ipt_SAME.ko mis-handles the value, triggering an integer overflow that crashes or bricks the device. A GitHub write-up describing the brick is referenced, but no confirmed public exploit code is indicated in the input; the low attack complexity (AC:L) means the trigger is reliable once config access exists.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

Integer overflow in MikroTik RouterOS firewall SAME-target handling can crash or brick affected routers when an authenticated user with firewall/NAT rule privileges installs a manipulated ipt_SAME rule. The flaw affects RouterOS through 6.40.5, 6.44, and 7.20.8, with fixes in 7.21.5 and 7.23.1. No CISA KEV listing was provided and no public exploit was confirmed at time of analysis; the assessed impact is availability-only.

RemediationAI

Upgrade RouterOS to 7.21.5 or 7.23.1, the vendor-released patch versions, and verify the running version after reboot. If upgrade cannot be staged immediately, restrict management-plane access (Winbox/API/SSH) to trusted admin networks, enforce least privilege so only necessary users can modify firewall/NAT rules, and audit or remove unnecessary SAME-target rules; each control has trade-offs-network restrictions can block legitimate remote administration, privilege reduction may slow operations, and removing SAME rules may break NAT or load-balancing behavior. Use the VulDB references https://vuldb.com/vuln/422285 and https://vuldb.com/vuln/422285/cti for tracking; no separate vendor advisory URL was provided.

Affected VersionsENISA

RouterOS 6.18
RouterOS 6.24
RouterOS 6.40.4
RouterOS 6.29
RouterOS 7.20.1
RouterOS 6.40
RouterOS 6.40.5
RouterOS 6.2
RouterOS 6.40.1
RouterOS 6.32
RouterOS 7.20.6
RouterOS 6.27
RouterOS 6.39
RouterOS 6.40.3
RouterOS 6.22
RouterOS 6.33
RouterOS 6.31
RouterOS 7.20.0
RouterOS 6.12
RouterOS 7.20.8
RouterOS 6.8
RouterOS 7.20.2
RouterOS 6.3
RouterOS 6.36
RouterOS 7.20.5
RouterOS 6.42
RouterOS 6.35
RouterOS 6.14
RouterOS 6.28
RouterOS 6.6
RouterOS 6.16
RouterOS 6.1
RouterOS 6.43
RouterOS 6.20
RouterOS 6.9
RouterOS 6.4
RouterOS 6.21
RouterOS 6.34
RouterOS 6.38
RouterOS 6.19
RouterOS 6.25
RouterOS 6.13
RouterOS 7.20.7
RouterOS 6.37
RouterOS 7.20.3
RouterOS 6.30
RouterOS 6.11
RouterOS 6.23
RouterOS 7.20.4
RouterOS 6.17
RouterOS 6.5
RouterOS 6.44
RouterOS 6.15
RouterOS 6.26
RouterOS 6.7
RouterOS 6.0
RouterOS 6.10
RouterOS 6.40.0
RouterOS 6.40.2
RouterOS 6.41

Affected Packages

euvd routeros no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The issue is in ipt_SAME.ko, the RouterOS kernel module that implements the SAME firewall/NAT target, specifically the same_check routine. CWE-190 describes an integer overflow in the validation or handling of a range/count value supplied through a firewall rule; the resulting wrap can corrupt length or boundary calculations and lead to a device crash or brick rather than code execution or data exposure. The attack path is remote but authenticated: a user able to add or modify firewall/NAT rules through the management plane, such as Winbox, API, or SSH, can install the malicious SAME rule. Tags for buffer overflow and integer overflow indicate memory-safety handling, but the independent assessment constrains impact to availability (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) with no confidentiality or integrity effect.

Know when Routeros gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 7.1 HIGH
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
vuln.today AI 6.5 MEDIUM

Reachable over the network management plane but requires an authenticated operator able to configure firewall rules (PR:L); integer overflow is a reliable trigger (AC:L) and the only impact is device availability (A:H).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

MikroTik RouterOS through 6.40.5, 6.44, and 7.20.8 contains a high-severity firewall SAME-target integer overflow that can crash or render routers unavailable if firewall/NAT rules are modified to include a manipulated ipt_SAME rule. The issue is availability-only and no public exploit identified at time of analysis, but a bricked router can disrupt connectivity for branches, customers, or remote sites. Leadership should prioritize inventory and controlled upgrades because recovery may require physical intervention and extended downtime.

Business Impact: High
Compensating Controls

Apply vendor patch (RouterOS 7.21.5 or 7.23.1); if those releases are not available, restrict firewall/NAT rule privileges, back up configurations, and avoid untrusted ipt_SAME rules.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
High
MikroTik RouterOS is a very widely deployed ISP/SOHO/enterprise router platform
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

CVE-2026-86060 CRITICAL POC
9.2 Sep 05

Privilege escalation in MikroTik RouterOS lets a remote, unauthenticated attacker abuse the SSH login helper to rewrite

CVE-2026-67277 HIGH POC
8.8 Sep 05

Remote unauthenticated exploitation of MikroTik RouterOS's Bandwidth Test (btest) service allows two distinct attacks: k

CVE-2026-67279 MEDIUM POC
6.9 Sep 05

SSH authentication bypass in MikroTik RouterOS allows any unauthenticated network attacker to skip the entire SSH user-a

CVE-2017-7285 HIGH POC
7.5 Mar 29

A vulnerability in the network stack of MikroTik Version 6.38.5 released 2017-03-09 could allow an unauthenticated remot

CVE-2017-6444 HIGH POC
7.5 Mar 12

The MikroTik Router hAP Lite 6.25 has no protection mechanism for unsolicited TCP ACK packets in the case of a fast netw

CVE-2022-34960 CRITICAL POC
9.8 Aug 25

The container package in MikroTik RouterOS 7.4beta4 allows an attacker to create mount points pointing to symbolic links

CVE-2018-7445 CRITICAL POC
9.8 Mar 19

A buffer overflow was found in the MikroTik RouterOS SMB service when processing NetBIOS session request messages. Rated

CVE-2026-67276 CRITICAL POC
9.2 Sep 05

Authentication bypass in MikroTik RouterOS lets a remote unauthenticated attacker log in over SSH as an authorized user

CVE-2018-14847 CRITICAL POC
9.1 Aug 02

MikroTik RouterOS through 6.42 allows unauthenticated remote attackers to read arbitrary files and remote authenticated

CVE-2022-45313 HIGH POC
8.8 Dec 05

Mikrotik RouterOs before stable v7.5 was discovered to contain an out-of-bounds read in the hotspot process. Rated high

CVE-2018-1156 HIGH POC
8.8 Aug 23

Mikrotik RouterOS before 6.42.7 and 6.40.9 is vulnerable to stack buffer overflow through the license upgrade interface.

CVE-2026-67281 HIGH POC
8.7 Sep 05

Unauthenticated file read in MikroTik RouterOS WebFig exposes root-owned configuration files - including credential stor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy