CVEfocus › CVE database › CVE-2026-34580

CVE-2026-34580Botan has a certificate authentication bypass due to trust anchor confusion

CVSS 9.3 CriticalEPSS 0.3% (higher than 19% of CVEs)Published 2026-04-07Updated 2026-07-15Assigner: GitHub_M

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.

CWE-295

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

1Fixed
5Fix pending
1Under investigation
6Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10botan3Fix pendingUBUNTU-CVE-2026-34580
Ubuntu 26.04botan3Under investigationUBUNTU-CVE-2026-34580
Ubuntu 25.10botanWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-34580
Ubuntu 25.10botan3Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-34580
Ubuntu 24.04botanFix pendingUBUNTU-CVE-2026-34580
Ubuntu 22.04botanFix pendingUBUNTU-CVE-2026-34580
Ubuntu 20.04botanFix pendingUBUNTU-CVE-2026-34580
Ubuntu 18.04botanFix pendingUBUNTU-CVE-2026-34580
Red Hat Enterprise Linux 10rust-sequoia-sqWill not fix
Will not fix
Red Hat Enterprise Linux 10rust-sequoia-sqvWill not fix
Will not fix
Red Hat Enterprise Linux 10sequoia-sqWill not fix
Will not fix
Red Hat Enterprise Linux 10sequoia-sqvWill not fix
Will not fix
Alpine Linux 3.24botan3Fixed3.11.1-r0ALPINE-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.

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.