CVE-2026-39042 Details
Description
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.
A denial-of-service vulnerability has been identified in MikroTik RouterOS versions 7.21.x prior to 7.21.4 and 7.22.x prior to 7.22.2. The issue arises from an integer overflow in the 'unflatten()' function of 'libumsg.so', the core message deserialization library used by all RouterOS services. This vulnerability allows remote attackers to cause a crash by sending crafted data that exploits the overflow, potentially leading to heap corruption and arbitrary code execution.
Users are advised to upgrade to MikroTik RouterOS versions 7.21.4 or 7.22.2. For those unable to update immediately, it's recommended to disable unnecessary services, restrict management access to trusted IP addresses, and add firewall rules to drop incoming traffic on certain ports from untrusted sources.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 13, 2026CISA-ADP
Assessed Jul 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://mikrotik.com/supportsec | [email protected] | Vendor |
| https://zakpatrik.cz/blog/finding-an-integer-overflow-in-mikrotik-routeros-core-ipc-library | [email protected] | ExploitRemedyTechnical Analysis |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| MikroTik RouterOS | >= 7.21, < 7.21.4 >= 7.22, < 7.22.2 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | CVE Modified | CISA-ADP |
| Jul 13, 2026 | New CVE Received | [email protected] |
Volerion