
CVE catalog
CVE-2018-20187
botan: CVE-2018-20187
- Severity
- Low · CVSS 2.5
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.52% · Oct 27, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | botan | trixie | 2.19.5+dfsg-4 | fixed |
| Debian | botan | bookworm | 2.19.3+dfsg-1+deb12u1 | fixed |
| Ubuntu | botan1.10 | pro | 1.10.5-1 | vulnerable |
| Ubuntu | botan1.10 | pro | 1.10.5-1ubuntu1 | vulnerable |
| Ubuntu | botan1.10 | pro | 1.10.5-1+deb7u1ubuntu0.14.04.1 | vulnerable |
| Ubuntu | botan1.10 | pro | 1.10.5-1+deb7u1ubuntu0.14.04.1+esm1 | vulnerable |
| Ubuntu | botan | 18.04 | 2.4.0-3 | vulnerable |
| Ubuntu | botan | 18.04 | 2.4.0-4 | vulnerable |
| Ubuntu | botan | 18.04 | 2.4.0-5ubuntu1 | vulnerable |
| Alpine | botan | 3.11 | 2.9.0-r0 | fixed |
| Alpine | botan | 3.12 | 2.9.0-r0 | fixed |
| Alpine | botan | 3.13 | 2.9.0-r0 | fixed |
| Alpine | botan | 3.14 | 2.9.0-r0 | fixed |
| Alpine | botan | 3.15 | 2.9.0-r0 | fixed |
| Alpine | botan | 3.16 | 2.9.0-r0 | fixed |
| Alpine | botan | 3.17 | 2.9.0-r0 | fixed |
| Alpine | botan | 3.18 | 2.9.0-r0 | fixed |
| Alpine | botan | 3.19 | 2.9.0-r0 | fixed |
| Alpine | botan | 3.20 | 2.9.0-r0 | fixed |
| Alpine | botan | 3.21 | 2.9.0-r0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | botan | source | trixie | 2.9.0-2 | not yet assigned | Not reported | [918732] |
| Debian | botan | source | bookworm | 2.9.0-2 | not yet assigned | Not reported | [918732] |
| Alpine | botan | apk | 3.11 | 2.9.0-r0 | Not reported | ALPINE-CVE-2018-20187 | Not reported |
| Alpine | botan | apk | 3.12 | 2.9.0-r0 | Not reported | ALPINE-CVE-2018-20187 | Not reported |
| Alpine | botan | apk | 3.13 | 2.9.0-r0 | Not reported | ALPINE-CVE-2018-20187 | Not reported |
| Alpine | botan | apk | 3.14 | 2.9.0-r0 | Not reported | ALPINE-CVE-2018-20187 | Not reported |
| Alpine | botan | apk | 3.15 | 2.9.0-r0 | Not reported | ALPINE-CVE-2018-20187 | Not reported |
| Alpine | botan | apk | 3.16 | 2.9.0-r0 | Not reported | ALPINE-CVE-2018-20187 | Not reported |
| Alpine | botan | apk | 3.17 | 2.9.0-r0 | Not reported | ALPINE-CVE-2018-20187 | Not reported |
| Alpine | botan | apk | 3.18 | 2.9.0-r0 | Not reported | ALPINE-CVE-2018-20187 | Not reported |
| Alpine | botan | apk | 3.19 | 2.9.0-r0 | Not reported | ALPINE-CVE-2018-20187 | Not reported |
| Alpine | botan | apk | 3.20 | 2.9.0-r0 | Not reported | ALPINE-CVE-2018-20187 | Not reported |
| Alpine | botan | apk | 3.21 | 2.9.0-r0 | Not reported | ALPINE-CVE-2018-20187 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [botan]Unknown
Details (2)
2.19.3+dfsg-1+deb12u1· amd64 · bookwormFixed · Fixed:
2.9.0-2dsa · botan · debian · bookworm; dsa · botan · debian · 12
2.19.3+dfsg-1+deb12u1· arm64 · bookwormFixed · Fixed:
2.9.0-2dsa · botan · debian · bookworm; dsa · botan · debian · 12
- [libbotan-2-19]Unknown
Source package: [botan]
Details (2)
2.19.3+dfsg-1+deb12u1· amd64 · bookwormFixed · Fixed:
2.9.0-2dsa · botan · debian · bookworm; dsa · botan · debian · 12
2.19.3+dfsg-1+deb12u1· arm64 · bookwormFixed · Fixed:
2.9.0-2dsa · botan · debian · bookworm; dsa · botan · debian · 12
- [libbotan-2-dev]Unknown
Source package: [botan]
Details (2)
2.19.3+dfsg-1+deb12u1· amd64 · bookwormFixed · Fixed:
2.9.0-2dsa · botan · debian · bookworm; dsa · botan · debian · 12
2.19.3+dfsg-1+deb12u1· arm64 · bookwormFixed · Fixed:
2.9.0-2dsa · botan · debian · bookworm; dsa · botan · debian · 12
- [libbotan-2-doc]Unknown
Source package: [botan]
Details (2)
2.19.3+dfsg-1+deb12u1· all · bookwormFixed · Fixed:
2.9.0-2dsa · botan · debian · bookworm; dsa · botan · debian · 12
2.19.3+dfsg-1+deb12u1· all · bookwormFixed · Fixed:
2.9.0-2dsa · botan · debian · bookworm; dsa · botan · debian · 12
- [python3-botan]Unknown
Source package: [botan]
Details (2)
2.19.3+dfsg-1+deb12u1· amd64 · bookwormFixed · Fixed:
2.9.0-2dsa · botan · debian · bookworm; dsa · botan · debian · 12
2.19.3+dfsg-1+deb12u1· arm64 · bookwormFixed · Fixed:
2.9.0-2dsa · botan · debian · bookworm; dsa · botan · debian · 12
[Debian 13 (Trixie)]
- [botan]Unknown
Source package: [botan3]
Details (4)
3.7.1+dfsg-2· amd64 · trixieFixed · Fixed:
2.9.0-2dsa · botan · debian · 13
3.7.1+dfsg-2· arm64 · trixieFixed · Fixed:
2.9.0-2dsa · botan · debian · 13
3.12.0+dfsg-2~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.9.0-2dsa · botan · debian · 13
3.12.0+dfsg-2~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.9.0-2dsa · botan · debian · 13
- [libbotan-2-19]Unknown
Source package: [botan]
Details (2)
2.19.5+dfsg-4· amd64 · trixieFixed · Fixed:
2.9.0-2dsa · botan · debian · 13
2.19.5+dfsg-4· arm64 · trixieFixed · Fixed:
2.9.0-2dsa · botan · debian · 13
- [libbotan-2-dev]Unknown
Source package: [botan]
Details (2)
2.19.5+dfsg-4· amd64 · trixieFixed · Fixed:
2.9.0-2dsa · botan · debian · 13
2.19.5+dfsg-4· arm64 · trixieFixed · Fixed:
2.9.0-2dsa · botan · debian · 13
- [libbotan-2-doc]Unknown
Source package: [botan]
Details (2)
2.19.5+dfsg-4· all · trixieFixed · Fixed:
2.9.0-2dsa · botan · debian · 13
2.19.5+dfsg-4· all · trixieFixed · Fixed:
2.9.0-2dsa · botan · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_10594-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2018-20187]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-20187]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-20187]
- [https://security-tracker.debian.org/tracker/CVE-2018-20187]
- [https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-20187.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]