CVE-2024-34703 json
Botan Vulnerable to Denial of Service Due to Overly Large Elliptic Curve Parameters
published 2024-06-30 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-34998
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. Prior to versions 3.3.0 and 2.19.4, an attacker could present an ECDSA X.509 certificate using explicit encoding where the parameters are very large. The proof of concept used a 16Kbit prime for this purpose. When parsing, the parameter is checked to be prime, causing excessive computation. This was patched in 2.19.4 and 3.3.0 to allow the prime parameter of the elliptic curve to be at most 521 bits. No known workarounds are available. Note that support for explicit encoding of elliptic curve parameters is deprecated in Botan.
Patch / fix
- randombit botan 2.19.4, 3.3.1
- botan Debian 12 2.19.3+dfsg-1+deb12u1
- botan Debian 13 2.19.4+dfsg-1
debian advisories DEBIAN-CVE-2024-34703
- botan Ubuntu Pro 22.04 LTS 2.19.1+dfsg-2ubuntu1+esm1
- botan Ubuntu Pro 24.04 LTS 2.19.3+dfsg-1ubuntu2+esm1
ubuntu advisories UBUNTU-CVE-2024-34703
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- MozillaThunderbird SLE Workstation Extension 15 SP7, SLE Module for Package Hub 15 SP7 153.2.0-150400.13.3.1
- MozillaThunderbird SLE Workstation Extension 15 SP6, SLE Workstation Extension 15 SP5, SLE Module for Package Hub 15 SP6 +3 more 115.12.2-150200.8.168.1
suse advisories SUSE-SU-2026:4268-1SUSE-SU-2024:2415-1
- Botan Package Hub 15 SP5, openSUSE Leap 15.5 2.19.5-bp155.2.3.1
- Botan openSUSE Tumbleweed 2.19.5-1.1
- MozillaThunderbird openSUSE Tumbleweed 115.12.2-1.1
opensuse advisories openSUSE-SU-2024:0201-1openSUSE-SU-2024:14188-1openSUSE-SU-2024:14095-1
- botan Alpine 3.19, Alpine 3.18, Alpine 3.17 2.19.5-r0
- botan Alpine 3.21, Alpine 3.20 2.19.4-r0
alpine advisories ALPINE-CVE-2024-34703
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-34703 updated cvss 7.5
botan: Denial of Service Due to Overly Large Elliptic Curve Parameters
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected products
- randombit botan
Classification
References
Sources
- CVE List CVE-2024-34703
- NVD CVE-2024-34703
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.