What’s Vulnerable › Vulnerabilities
CVE-2026-34580: Botan has a certificate authentication bypass due to trust anchor confusion
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-07 · updated 2026-07-24
- Weakness: CWE-295
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.
Affected products
- randombit botan: 3.11.0
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
Get alerted when CVE-2026-34580 or the next vulnerability affects your stack