CVE-2026-34580 Botan has a certificate authentication bypass due to trust anchor confusion
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
10 packages: 1 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat enterprise linux | All versions | No fix listed | No fix yet |
| redhat/rust-sequoia-sq(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/rust-sequoia-sqv(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| ubuntu/botan(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/botan(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/botan3(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/botan3(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/botan3(Alpine v3.24) | < 3.11.1-r0 | 3.11.1-r0 | Fixed |
| botan project botan | = 3.11.0 | No fix listed | Versions listed |
| randombit botan | = >= 3.11.0, < 3.11.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| randombit botan | = >= 3.11.0, < 3.11.1 | No fix listed |
| redhat enterprise linux | All versions | No fix listed |
| redhat/rust-sequoia-sq(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/rust-sequoia-sqv(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| ubuntu/botan(Ubuntu:22.04) | All versions | No fix listed |
| alpine/botan3(Alpine:v3.24) | < 3.11.1-r0 | 3.11.1-r0 |
| ubuntu/botan(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/botan3(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/botan3(Ubuntu:26.10) | All versions | No fix listed |
| botan project botan | = 3.11.0 | No fix listed |
References
- https://github.com/randombit/botan/security/advisories/GHSA-v782-6fq4-q827 vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2456288 issue-tracking
- security.access.redhat.com
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- security.alpinelinux.org vendor-advisory
- Debian Security Tracker CVE-2026-34580 vendor-advisory