Vulnerability record · CVE-2018-20187 · published 8 March 2019
CVE-2018-20187: Botan project botan vulnerability
Botan Project · Botan
A side-channel issue was discovered in Botan before 2.9.0. An attacker capable of precisely measuring the time taken for ECC key generation may be able to derive information about the high bits of the secret key, as the function to derive the public point from the secret scalar uses an unblinded Montgomery ladder whose loop iteration count depends on the bitlength of the secret. This issue affects only key generation, not ECDSA signatures or ECDH key agreement.
Description
A side-channel issue was discovered in Botan before 2.9.0. An attacker capable of precisely measuring the time taken for ECC key generation may be able to derive information about the high bits of the secret key, as the function to derive the public point from the secret scalar uses an unblinded Montgomery ladder whose loop iteration count depends on the bitlength of the secret. This issue affects only key generation, not ECDSA signatures or ECDH key agreement.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://botan.randombit.net/news.html | Release NotesVendor Advisory |
| https://botan.randombit.net/security.html | Vendor Advisory |
| https://github.com/crocs-muni/ECTester | Not ApplicableThird Party Advisory |
| https://botan.randombit.net/news.html | Release NotesVendor Advisory |
| https://botan.randombit.net/security.html | Vendor Advisory |
| https://github.com/crocs-muni/ECTester | Not ApplicableThird Party Advisory |
Track CVE-2018-20187 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-2018-20187), CISA KEV, FIRST EPSS (scores of 2026-10-01). This page is refreshed as NVD updates the record.