{"id":"CVE-2021-41987","aliases":["CVE-2021-41987"],"related":[],"kind":"vulnerability","state":"published","title":"In the SCEP Server of RouterOS in certain Mikrotik products, an attacker can trigger a heap-based buffer overflow that leads to remote code…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el servidor SCEP de RouterOS en ciertos productos Mikrotik, un atacante puede desencadenar un desbordamiento de búfer basado en heap que conduce a la ejecución remota de código. El atacante debe conocer el valor de scep_server_name. Esto afecta a RouterOS 6.46.8, 6.47.9 y 6.47.10","source":"nvd"}],"published":"2022-03-16T14:44:58.000Z","modified":"2026-06-17T04:09:06.847Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"6.46.8"},{"status":"affected","version":"6.47.9"},{"status":"affected","version":"6.47.10"}],"vendor":"mikrotik","product":"routeros","cpe":"cpe:2.3:o:mikrotik:routeros:6.46.8:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://mikrotik.com/download/archive","tags":["release-notes","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://teamt5.org/en/posts/vulnerability-mikrotik-cve-2021-41987/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-41987","url":"https://www.cve.org/CVERecord?id=CVE-2021-41987","licence":"CVE Terms of Use","modified":"2024-08-04T03:22:25.697Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-41987","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41987","licence":"Public domain","modified":"2026-06-17T04:09:06.847Z"}],"updatedAt":"2026-11-25T22:58:07.223Z","epss":{"score":0.16229,"percentile":0.97021,"date":"2026-12-01T12:00:22.000Z"}}