cve.bz

CVE-2018-20187 botan project botan: Key Management Errors

5.9 mediumEPSS 1.5%

Medium (5.9) in botan project botan. EPSS 1.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

5.9 medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.5% (unchanged from 1.5% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 75th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-320 Key Management Errors
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-20187 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-20187?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-20187?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-20187 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
botan_project:botanbefore 2.9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13botan2.9.0-2DEBIAN-CVE-2018-20187
Ubuntu18.04:LTSbotanno fix listedUBUNTU-CVE-2018-20187
UbuntuPro:14.04:LTSbotan1.10no fix listedUBUNTU-CVE-2018-20187
openSUSETumbleweedBotan2.18.1-1.3openSUSE-SU-2024:10594-1
Alpinev3.10, v3.11, v3.12 and 9 morebotan2.9.0-r0ALPINE-CVE-2018-20187

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.

References

Check your stackJSON