CVE-2026-34580
CVE-2026-34580 · Botan has a certificate authentication bypass due to trust anchor confusion
CVSS 9.3 · Critical · EPSS 0.4% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- botanNo fix published
- botan3 Alpine 3.24Update to 3.11.1-r0
- botan Ubuntu 18.04 LTSNo fix published
- botan Ubuntu 20.04 LTSNo fix published
- and 6 more
Check the installed version:
apk list -I -o botan3dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="botan"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Stack: system
Affected products and versions
botan
- Versions
- >= 3.11.0, < 3.11.1: Affected
No fix published
botan3 Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 3.11.1-r0
Update to 3.11.1-r0
botan Ubuntu 18.04 LTS
- Versions
- 2.4.0-3
- 2.4.0-4
- 2.4.0-5ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
botan Ubuntu 20.04 LTS
- Versions
- 2.9.0-2
- 2.9.0-2build1
- 2.12.1-2
- 2.12.1-2build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
botan Ubuntu Pro 22.04 LTS
- Versions
- 2.17.3+dfsg-3
- 2.19.1+dfsg-2ubuntu1
- 2.19.1+dfsg-2ubuntu1+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
botan Ubuntu Pro 24.04 LTS
- Versions
- 2.19.3+dfsg-1ubuntu1
- 2.19.3+dfsg-1ubuntu2
- 2.19.3+dfsg-1ubuntu2+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
botan Ubuntu 25.10
- Versions
- 2.19.5+dfsg-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
botan3 Ubuntu 25.10
- Versions
- 3.7.1+dfsg-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
botan3 Ubuntu 26.10
- Versions
- 3.10.0+dfsg-2
- 3.11.1+dfsg-2
- 3.12.0+dfsg-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
botan3 Ubuntu Pro 26.04 LTS
- Versions
- 3.7.1+dfsg-2
- 3.10.0+dfsg-2
- 3.10.0+dfsg-2ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-34580