CVE-2018-20187
Reported by mitre · Published March 8, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| botan | botan_project | 2.9.0 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| alpine | botan | 0 |
Timeline
- Mar 8, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Aug 5, 2024 CVE Updated
- Apr 3, 2026 Security Advisory
- Sep 21, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-20187
vulnetix vdb fixes CVE-2018-20187
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-20187/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart