CVE-2024-34703
highpriority · track · 0EPSS 0.005 · 43 %ileEURUEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.9–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (8)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://botan.randombit.net/news.html#version-3-3-0-2024-02-20Patchcnnvd
- https://cxsecurity.com/cveshow/CVE-2024-34703/cnnvd
- https://github.com/randombit/botan/commit/08c404b23740babee1f6aa51b54e966029aadee4cnnvd
- https://github.com/randombit/botan/commit/94e9154c143aa5264da6254a6a1be5bc66ee2b5acnnvd
- https://github.com/randombit/botan/security/advisories/GHSA-w4g2-7m2h-7xj7cnnvd
- https://vigilance.fr/vulnerability/Botan-overload-via-an-ECDSA-certificate-44735cnnvd
- https://github.com/randombit/botan/commit/08c404b23740babee1f6aa51b54e966029aadee4enisa_euvd
- https://github.com/randombit/botan/commit/94e9154c143aa5264da6254a6a1be5bc66ee2b5aenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan