CVE-2024-34702 in Cryptography products
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 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who pr...
Affects 0 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Cryptography | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-34702 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-194171-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| Published | 2024-07-08 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-405: CWE-405
Analysis AI-written, not human-reviewed
Botan versions prior to 3.5.0 and 2.19.5 are vulnerable to a performance issue due to quadratic complexity in checking name constraints in X.509 certificates, which can be exploited by an attacker to cause a denial of service.
An attacker can craft a certificate chain with a large number of names and name constraints, leading to excessive processing time and potential denial of service on systems using affected versions of Botan.
Questions
What is CVE-2024-34702?
Botan versions prior to 3.5.0 and 2.19.5 are vulnerable to a performance issue due to quadratic complexity in checking name constraints in X.509 certificates, which can be exploited by an attacker to cause a denial of service.
What is the CVSS score for CVE-2024-34702?
CVE-2024-34702 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L. EPSS: 1.4%.
Is CVE-2024-34702 actively exploited?
No confirmed active exploitation of CVE-2024-34702 as of 2026-09-25.
How do I remediate CVE-2024-34702?
Priority: MEDIUM.
What systems are affected by CVE-2024-34702?
CVE-2024-34702 affects Cryptography.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Cryptography","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.