Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to RouterOS management plane
-
ExploitConfigure crafted SAME firewall/NAT rule
-
ExecutionTrigger integer overflow in same_check (ipt_SAME.ko)
-
ImpactCrash 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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).
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Privilege escalation in MikroTik RouterOS lets a remote, unauthenticated attacker abuse the SSH login helper to rewrite
Remote unauthenticated exploitation of MikroTik RouterOS's Bandwidth Test (btest) service allows two distinct attacks: k
SSH authentication bypass in MikroTik RouterOS allows any unauthenticated network attacker to skip the entire SSH user-a
A vulnerability in the network stack of MikroTik Version 6.38.5 released 2017-03-09 could allow an unauthenticated remot
The MikroTik Router hAP Lite 6.25 has no protection mechanism for unsolicited TCP ACK packets in the case of a fast netw
The container package in MikroTik RouterOS 7.4beta4 allows an attacker to create mount points pointing to symbolic links
A buffer overflow was found in the MikroTik RouterOS SMB service when processing NetBIOS session request messages. Rated
Authentication bypass in MikroTik RouterOS lets a remote unauthenticated attacker log in over SSH as an authorized user
MikroTik RouterOS through 6.42 allows unauthenticated remote attackers to read arbitrary files and remote authenticated
Mikrotik RouterOs before stable v7.5 was discovered to contain an out-of-bounds read in the hotspot process. Rated high
Mikrotik RouterOS before 6.42.7 and 6.40.9 is vulnerable to stack buffer overflow through the license upgrade interface.
Unauthenticated file read in MikroTik RouterOS WebFig exposes root-owned configuration files - including credential stor
EUVD-2026-104417
GHSA-99hw-pp85-5wcr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB