Skip to main content

MikroTik RouterOS CVE-2026-39042

| EUVDEUVD-2026-43601 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-07-13 mitre GHSA-p5h9-77xr-72r8
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Reach exposed RouterOS network service
  2. Delivery
    Send crafted IPC message
  3. Exploit
    Trigger integer overflow in unflatten()
  4. Execution
    Corrupt memory in libumsg.so
  5. Impact
    Crash IPC process, deny 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

No special conditions beyond network reachability - remote unauthenticated exploitation (AV:N/AC:L/PR:N/UI:N) against RouterOS 7.21.x/7.22.x, requiring only the ability to send a crafted IPC message to a network-exposed RouterOS service that routes through the vulnerable unflatten() path in libumsg.so. Exploitation is LIMITED by the need to reach the affected service: devices whose management/IPC-backed services are firewalled to trusted networks or not exposed to the internet are not remotely reachable, and only the specified 7.21.x-before-7.21.4 and 7.22.x-before-7.22.2 builds are vulnerable. Impact is bounded to denial of service (A:H, C:N/I:N) - no code execution or data disclosure is indicated by the CVSS vector.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, score 7.5) describes a cleanly remote, unauthenticated, low-complexity availability-only attack - no confidentiality or integrity impact. That maps to a pure denial of service, not code execution, despite the memory-safety root cause. Real-world exploitation signals are modest: EPSS is 0.20% (10th percentile), it is NOT listed in CISA KEV, and no working exploit is confirmed in the provided data. The presence of a detailed public technical write-up modestly raises the odds of a working DoS PoC emerging, but the absence of KEV/high-EPSS suggests this is currently a patch-on-normal-cycle issue rather than an emergency. Note a data gap: the CPE string provided is a placeholder ('cpe:2.3:a:n/a:n/a') and EUVD affected-version data reads 'n/a', so authoritative machine-readable version scoping is weak - the version ranges come from the CVE description text, which should be corroborated against MikroTik's advisory.

Exploit ScenarioDerived

An attacker who can reach an exposed RouterOS service over the network sends a crafted message whose length fields trigger the integer overflow inside unflatten() in libumsg.so, corrupting memory and crashing the IPC-handling process. With low attack complexity and no authentication or user interaction required, this can be repeated to keep the router or affected service offline. No working public exploit is identified at time of analysis, but a public research write-up detailing the overflow lowers the barrier to reproduction.

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

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

Alert me

AnalysisAIv1 – Jul 14, 2026

Denial of service in MikroTik RouterOS 7.21.x (before 7.21.4) and 7.22.x (before 7.22.2) allows a remote unauthenticated attacker to crash the core inter-process communication layer by triggering an integer overflow in the unflatten() function of the bundled libumsg.so library. Successfully exploiting it disrupts device availability without touching data confidentiality or integrity. There is no public exploit identified at time of analysis, though a third-party research blog documents the underlying integer overflow; EPSS is low at 0.20% (10th percentile).

RemediationAI

Vendor-released patch: upgrade RouterOS 7.21.x devices to 7.21.4 or later and 7.22.x devices to 7.22.2 or later, which contain the fix for the unflatten() integer overflow; consult MikroTik's advisory at https://mikrotik.com/supportsec for exact channel details. Where immediate patching is not possible, reduce exposure by restricting network reachability of RouterOS management and service ports to trusted management networks or VPN (firewall the WAN-facing services, e.g. via /ip firewall rules and the 'Allowed From' service restrictions), since the attack is network-reachable and unauthenticated - the trade-off is that overly broad filtering can disrupt legitimate remote administration and dynamic routing/IPC peers. Disabling or firewalling any unneeded RouterOS services further shrinks the attack surface. Technical background on the flaw is documented at https://zakpatrik.cz/blog/finding-an-integer-overflow-in-mikrotik-routeros-core-ipc-library.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

RouterOS is MikroTik's Linux-based network operating system running on the vendor's routers, switches, and CHR virtual instances. The flaw lives in libumsg.so, the shared library implementing RouterOS's internal message-passing/IPC used to serialize and reconstruct structured messages. The unflatten() routine deserializes ('unflattens') a message buffer, and a CWE-190 integer overflow in its length/size handling lets attacker-controlled input miscompute a value - leading to memory corruption or an out-of-bounds condition that crashes the handling process. Because this IPC library backs core RouterOS services reachable over the network, a malformed message can take down the affected process and, by extension, device functionality.

Know when N A 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 (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Remotely reachable IPC message with no auth or user interaction (AV:N/AC:L/PR:N/UI:N); impact is availability-only DoS, so C:N/I:N/A:H.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
Jul 14, 2026 - 17:22 NVD
7.5 (HIGH)
CVE Published
Jul 13, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 13, 2026 - 00:00 cve.org
HIGH 7.5

DescriptionCVE.org

An issue in MikroTIk (SIA Mikrotikls, Latvia) RouterOS 7.21.x before v.7.21.4 and 7.22.x before v.7.22.2 allows a remote attacker to cause a denial of service via the unflatten() function in libumsg.so.

Executive ViewAI

Why It Matters

MikroTik RouterOS versions 7.21 through 7.22 contain a high-severity denial-of-service vulnerability enabling unauthenticated remote attackers to crash network devices, directly impacting organizational connectivity with no vendor patch currently available. This affects organizations that rely on these router models as critical network infrastructure, creating material risk of unscheduled downtime. While exploitation likelihood remains low at 0.2% (EPSS 10th percentile), the absence of available mitigation through patching requires immediate inventory and compensating controls.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: restrict network access to affected devices via firewall rules limiting remote connectivity, segment devices from untrusted networks, enable logging and monitoring for abnormal device behavior or unexpected restarts, and maintain rapid deployment procedures for patched versions when released by MikroTik.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
High
MikroTik RouterOS is very widely deployed on ISP and enterprise network gear globally
Data Quality
5 sources
Confidence: Medium

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.2%
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
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

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