CVE-2018-20187Botan Project Botan
Medium 5.9 No auth needed
Follow: this CVE · Botan Project · Botan Project Botan We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.0
- 5.9
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- Mar 8, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-320
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Botan.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| botan_project | botan | < 2.9.0 |
Official sources
References
Links published by the sources. Open them with care.
- botan.randombit.net Release Notes Vendor Advisory
- botan.randombit.net Vendor Advisory
- github.com Not Applicable Third Party Advisory