CVE 9.3 CRITICAL

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

9.3 / 10
CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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.

Basic Information

ID CVE-2026-34580
Source GitHub_M
Published Apr 7, 2026 at 21:12
Modified Apr 9, 2026 at 03:56

Affected Product

Vendor randombit
Product botan
Version >= 3.11.0, < 3.11.1
Affected Versions randombit botan >= 3.11.0, < 3.11.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.