CVE-2022-45315 Memory corruption in RouterOS
Authenticated attackers can execute arbitrary code on Mikrotik RouterOS devices via a crafted SNMP packet exploiting an out-of-bounds read.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-45315?
CVE-2022-45315 is a medium-severity memory corruption vulnerability in Mikrotik Routeros, published on 5 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Mikrotik RouterOs before stable v7.6 was discovered to contain an out-of-bounds read in the snmp process. This vulnerability allows authenticated attackers to execute arbitrary code via a crafted packet.
Weakness: CWE-125
Which versions are affected by CVE-2022-45315?
It affects 1 product.
Products include Mikrotik Routeros.
How do I fix CVE-2022-45315?
No fix has been published for CVE-2022-45315 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-45315 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-45315 exists.
Other vulnerabilities in Mikrotik Routeros
- CVE-2018-7445 MikroTik RouterOS Stack-Based Buffer Overflow
- CVE-2026-86060 MikroTik RouterOS Improper Neutralization of Argument Delimiters in a Command
- CVE-2018-14847 MikroTik Router OS Directory Traversal
- CVE-2026-67277 MikroTik RouterOS Missing Authentication for Critical Function
- CVE-2026-67279 Mikrotik RouterOS Improper Enforcement of Behavioral Workflow
Sources
Also known as GHSA-xcmj-vx3m-mj2h.