CVE-2024-34703: Botan · X.509 certificates can identify elliptic curves using either an object identifier or using
Affects botanSource GCVE Database
Not known to be exploited · CVSS 7.5 High · fixed in 2.19.1+dfsg-2ubuntu1+esm1 : patch botan soon.
Data as of 24 Nov 2026, 21:14 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.19.1+dfsg-2ubuntu1+esm1, 2.19.3+dfsg-1ubuntu2+esm1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Jun 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade the Ubuntu botan to 2.19.1+dfsg-2ubuntu1+esm1 (package) or 2.19.3+dfsg-1ubuntu2+esm1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 24.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2024-34703 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-34703 (opens in a new tab)
- github.com/randombit/botan/security/advisories/GHSA-w4g2-7m2h-7xj7 (opens in a new tab)
- github.com/randombit/botan/commit/08c404b23740babee1f6aa51b54e966029aadee4 (opens in a new tab)
- github.com/randombit/botan/commit/94e9154c143aa5264da6254a6a1be5bc66ee2b5a (opens in a new tab)
- ubuntu.com/security/notices/USN-7586-1 (opens in a new tab)