PT-2026-31027 · Botan · Botan
Nicholas Carlini
·
Published
2026-04-07
·
Updated
2026-04-08
·
CVE-2026-34580
CVSS v4.0
9.3
Critical
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Botan versions prior to 3.11.1
Description
The Botan cryptography library contains a flaw in the
Certificate Store::certificate known function. This function incorrectly identifies certificates, returning true if any certificate in the store has a matching Distinguished Name (DN) and Subject Key Identifier (SKI) with the provided certificate, without verifying if the certificates are identical. A subsequent extension of path validation logic incorrectly assumed that certificate known only returned true for identical certificates. This allows an end entity certificate to be accepted as a trusted root if its DN and SKI match those of a trusted root certificate.Recommendations
Update to version 3.11.1 or later.
Fix
Improper Certificate Validation
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Botan