5.9
Medium
CVE-2026-32884 Botan is a C++ cryptography library
Description
Botan is a C++ cryptography library. Prior to version 3.11.0, during processing of an X.509 certificate path using name constraints which restrict the set of allowable DNS names, if no subject alternative name is defined in the end-entity certificate Botan would check that the CN was allowed by the DNS name constraints, even though this check is technically not required by RFC 5280. However this check failed to account for the possibility of a mixed-case CN. Thus a certificate with CN=Sub.EVIL.COM and no subject alternative name would bypasses an excludedSubtrees constraint for evil.com because the comparison is case-sensitive. This issue has been patched in version 3.11.0.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Botan 3.11 | earliest → < 3.11.0 | 3.11.0 |
Other CVEs of Botan
The 17 CVEs of Botan →
CVE-2026-104267
Botan: scrypt V-buffer heap overflow on 32-bit from constructor-accepted parameters
4.1
Medium
CVE-2026-48057
Botan: directoryName nameConstraint bypass via multi-AVA RDN flattening in matches_dn
2.1
Low
CVE-2026-118769
Botan is a C++ cryptography library
9.2
Critical
CVE-2026-118768
Botan is a C++ cryptography library
5.9
Medium