CVE-2021-41987: In the SCEP Server of RouterOS in certain Mikrotik products, an attacker can trigger a heap-based buffer overflow that leads to remote co…

CVE-2021-41987 affects 3 listed versions of MikroTik RouterOS in the Dawnsentry catalogue.

8.1CVSS high
None knownexploitation
16%EPSS (next 30 days)
16 March 2022published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

MikroTik RouterOS

3 of 250 listed versions are affected. No fixed release is named. The newest release, 7.25.2, is not affected.

6.47.10 6.47.9 6.46.8

What it is

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 (NVD)

Published by MITRE on 16 March 2022. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2021-41987 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.