{"id":"CVE-2021-41987","aliases":["EUVD-2021-28977","GHSA-5vgw-w2rf-gwww"],"status":"published","title":"In the SCEP Server of RouterOS in certain Mikrotik products, an attacker can trigger a heap-based...","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.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.16229,"percentile":0.96971,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2022-03-16T14:44:58Z","modified":"2026-06-17T04:09:06Z","products":[{"vendor":"mikrotik","product":"routeros"}],"references":[{"url":"https://mikrotik.com/download/archive","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory"]},{"url":"https://teamt5.org/en/posts/vulnerability-mikrotik-cve-2021-41987/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41987"},{"url":"https://github.com/advisories/GHSA-5vgw-w2rf-gwww"}],"sources":{"cve":[{"id":"CVE-2021-41987","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.","status":"published","published":"2022-03-16T14:44:58Z","modified":"2024-08-04T03:22:25.697Z","updated_at":"2026-11-02T14:32:59.105382Z"}],"euvd":[{"id":"EUVD-2021-28977","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.","status":"published","published":"2022-03-16T14:44:58Z","modified":"2024-08-04T03:22:25Z","updated_at":"2026-11-03T03:24:16.784119Z"}],"ghsa":[{"id":"GHSA-5vgw-w2rf-gwww","title":"In the SCEP Server of RouterOS in certain Mikrotik products, an attacker can trigger a heap-based...","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 control the SCEP server for a valid certificate. This affects mikrotik-vm-6.46, mikrotik-vm-6.46.8, mikrotik-tile-6.46.8, mikrotik-6.47.9, and mikrotik-6.47.10.","status":"published","published":"2022-03-17T00:00:30Z","modified":"2023-01-27T05:00:44Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:41:44.25061Z"}],"nvd":[{"id":"CVE-2021-41987","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.","status":"published","published":"2022-03-16T15:15:14.547Z","modified":"2026-06-17T04:09:06.847Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:07:05.581807Z"}]}}
