CVE-2026-34580

HIGH

Botan 3.11.0 Trust Anchor Confusion - Certificate Authentication Bypass

Title source: manual
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 7.5
EPSS 0.0019
EPSS Percentile 8.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-295
Status published
Products (2)
botan_project/botan 3.11.0
randombit/botan >= 3.11.0, < 3.11.1
Published Apr 07, 2026
Tracked Since Apr 08, 2026