Skip to content

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

CriticalCVSS 9.3 EPSS 0.46%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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