CVE-2026-34580
CVE-2026-34580 is a high-severity vulnerability in Botan Project Botan with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-295.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v4: 9.3
- EPSS exploit prediction: 0% (16th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-19947
- Weakness: CWE-295
- Affected product: Botan Project Botan
- Published:
- Last modified:
Description
Botan is a C++ cryptography library. In 3.11.0, the function Certificate_Store::certificate_known had a misleading name; it would return true if any certificate in the store had a DN (and subject key identifier, if set) matching that of the argument. It did not check that the cert it found and the cert it was passed were actually the same certificate. In 3.11.0 an extension of path validation logic was made which assumed that certificate_known only returned true if the certificates were in fact identical. The impact is that if an end entity certificate is presented, and its DN (and subject key identifier, if set) match that of any trusted root, the end entity certificate is accepted immediately as if it itself were a trusted root. , This vulnerability is fixed in 3.11.1.
Frequently asked questions
- What is CVE-2026-34580?
- Botan is a C++ cryptography library. In 3.11.0, the function Certificate_Store::certificate_known had a misleading name; it would return true if any certificate in the store had a DN (and subject key identifier, if set) matching that of the argument. It did not check that the cert it found and the cert it was passed were actually the same certificate. In 3.11.0 an extension of path validation logic was made which assumed that certificate_known only returned true if the certificates were in fact identical. The impact is that if an end entity certificate is presented, and its DN (and subject key identifier, if set) match that of any trusted root, the end entity certificate is accepted immediately as if it itself were a trusted root. , This vulnerability is fixed in 3.11.1.
- How severe is CVE-2026-34580?
- CVE-2026-34580 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity high, and availability none.
- Is CVE-2026-34580 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (16th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-34580?
- CVE-2026-34580 affects Botan Project Botan. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-34580?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-34580 have an EU (EUVD) identifier?
- Yes. CVE-2026-34580 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-19947.
- When was CVE-2026-34580 published?
- CVE-2026-34580 was published on 2026-04-07 and last updated on 2026-06-30.
References
- https://github.com/randombit/botan/security/advisories/GHSA-v782-6fq4-q827
- https://access.redhat.com/security/cve/CVE-2026-34580
- https://bugzilla.redhat.com/show_bug.cgi?id=2456288
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34580.json
Affected products (1)
- cpe:2.3:a:botan_project:botan:3.11.0:*:*:*:*:*:*:*
More vulnerabilities in Botan Project Botan
- CVE-2021-24115 — Critical (CVSS 9.8): In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32,…
- CVE-2018-9127 — Critical (CVSS 9.8): Botan 2.2.0 - 2.4.0 (fixed in 2.5.0) improperly handled wildcard certificates and could accept certain certificates as…
- CVE-2016-6878 — Critical (CVSS 9.8): The Curve25519 code in botan before 1.11.31, on systems without a native 128-bit integer type, might allow attackers to…
- CVE-2015-7826 — Critical (CVSS 9.8): botan 1.11.x before 1.11.22 improperly handles wildcard matching against hostnames, which might allow remote attackers…
- CVE-2016-9132 — Critical (CVSS 9.8): In Botan 1.8.0 through 1.11.33, when decoding BER data an integer overflow could occur, which would cause an incorrect…
- CVE-2016-2196 — Critical (CVSS 9.8): Heap-based buffer overflow in the P-521 reduction function in Botan 1.11.x before 1.11.27 allows remote attackers to…
All CVEs affecting Botan Project Botan →
Other CWE-295 (Improper Certificate Validation) vulnerabilities
- CVE-2026-4370 — Critical (CVSS 10.0): A vulnerability was identified in Juju from version 3.2.0 until 3.6.19 and from version 4.0 until 4.0.4, where the…
- CVE-2026-30836 — Critical (CVSS 10.0): Step CA is an online certificate authority for secure, automated certificate management for DevOps. Versions 0.30.0-rc6…
- CVE-2025-68121 — Critical (CVSS 10.0): During session resumption in crypto/tls, if the underlying Config has its ClientCAs or RootCAs fields mutated between…
- CVE-2022-20703 — Critical (CVSS 10.0): Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could allow an attacker…
- CVE-2021-1471 — Critical (CVSS 9.9): Multiple vulnerabilities in Cisco Jabber for Windows, Cisco Jabber for MacOS, and Cisco Jabber for mobile platforms…
- CVE-2026-20184 — Critical (CVSS 9.8): A vulnerability in the integration of single sign-on (SSO) with Control Hub in Cisco Webex Services could have allowed…
Browse all CWE-295 (Improper Certificate Validation) vulnerabilities →