CVE-2026-34580Botan has a certificate authentication bypass due to trust anchor confusion
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.
What to do
Fixed builds are available from Alpine: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | botan3 | Fix pending | UBUNTU-CVE-2026-34580 | |
| Ubuntu 26.04 | botan3 | Under investigation | UBUNTU-CVE-2026-34580 | |
| Ubuntu 25.10 | botan | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-34580 | |
| Ubuntu 25.10 | botan3 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-34580 | |
| Ubuntu 24.04 | botan | Fix pending | UBUNTU-CVE-2026-34580 | |
| Ubuntu 22.04 | botan | Fix pending | UBUNTU-CVE-2026-34580 | |
| Ubuntu 20.04 | botan | Fix pending | UBUNTU-CVE-2026-34580 | |
| Ubuntu 18.04 | botan | Fix pending | UBUNTU-CVE-2026-34580 | |
| Red Hat Enterprise Linux 10 | rust-sequoia-sq | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | rust-sequoia-sqv | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | sequoia-sq | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | sequoia-sqv | Will not fix Will not fix | ||
| Alpine Linux 3.24 | botan3 | Fixed | 3.11.1-r0 | ALPINE-CVE-2026-34580 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- randombit botan: affected: >= 3.11.0, < 3.11.1
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.