#VU125385 Improper Certificate Validation in Botan - CVE-2026-34580
Published: April 8, 2026
Botan
Randombit
Description
The vulnerability allows a remote attacker to bypass X.509 certificate verification.
The vulnerability exists due to improper certificate validation in Certificate_Store::certificate_known and path validation logic when processing a presented end entity certificate. A remote attacker can present a crafted certificate with a distinguished name and subject key identifier matching a trusted root to bypass X.509 certificate verification.
The issue occurs because the certificate lookup logic treated matching certificate attributes as if the certificates were identical, causing the end entity certificate to be accepted as a trusted root.