Vulnerability record · CVE-2021-41987 · published 16 March 2022
CVE-2021-41987: Mikrotik routeros out-of-bounds write vulnerability
Mikrotik · Routeros
In the SCEP Server of RouterOS in certain Mikrotik products, an attacker can trigger a heap-based buffer overflow that leads to remote code execution. The attacker must know the scep_server_name value. This affects RouterOS 6.46.8, 6.47.9, and 6.47.10.
Description
In the SCEP Server of RouterOS in certain Mikrotik products, an attacker can trigger a heap-based buffer overflow that leads to remote code execution. The attacker must know the scep_server_name value. This affects RouterOS 6.46.8, 6.47.9, and 6.47.10.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://mikrotik.com/download/archive | Release NotesVendor Advisory |
| https://teamt5.org/en/posts/vulnerability-mikrotik-cve-2021-41987/ | ExploitThird Party Advisory |
| https://mikrotik.com/download/archive | Release NotesVendor Advisory |
| https://teamt5.org/en/posts/vulnerability-mikrotik-cve-2021-41987/ | ExploitThird Party Advisory |
Track CVE-2021-41987 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-41987), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.