Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-32884 EUVD-2026-17212

Botan: Case-Insensitive CN Values Bypass DNS excludedSubtrees Name Constraints (RFC 5280 Violation)

Published Mar 30, 2026 · Updated Mar 31, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
randombit botan < 3.11.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 botan3 3.11.0+dfsg-2 —
Debian 13 botan No fix yet —
Debian 13 botan3 3.11.0+dfsg-2 —
Debian 12 botan No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 botan3 No fix yet —
Ubuntu 26.04 LTS botan3 No fix yet —
Ubuntu 25.10 botan +1 No fix yet —
Ubuntu 20.04 LTS botan No fix yet —
Ubuntu 18.04 LTS botan No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS botan1.10 No fix yet —
Ubuntu Pro 24.04 LTS botan No fix yet —
Ubuntu Pro 22.04 LTS botan No fix yet —
Ubuntu Pro 14.04 LTS botan1.10 No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 Botan 3.7.1-160000.4.1 openSUSE-SU-2026:20566-1
ReleasePackageFixed inAdvisory
Alpine v3.24 botan3 3.11.0-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 botan2 No fix yet —

Advisories 1

References