CVE-2026-32884
Botan: Case-Insensitive CN Values Bypass DNS excludedSubtrees Name Constraints (RFC 5280 Violation)
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.9
Botan: Case-Insensitive CN Values Bypass DNS excludedSubtrees Name Constraints (RFC 5280 Violation)
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.
- Record
CVE-2026-32884- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
EUVDEUVD-2026-17212
5.9
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.
- Record
EUVD-2026-17212- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
NVD
5.9
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.
- Record
CVE-2026-32884- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
OSVALPINE-CVE-2026-32884
5.9
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.
- Record
ALPINE-CVE-2026-32884- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSV
5.9
Botan: Case-Insensitive CN Values Bypass DNS excludedSubtrees Name Constraints (RFC 5280 Violation)
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.
- Record
CVE-2026-32884- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-32884
5.9
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.
- Record
DEBIAN-CVE-2026-32884- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-32884
5.9
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.
- Record
UBUNTU-CVE-2026-32884- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVAZL-81180 No score
CVE-2026-32884 affecting package botan2 2.14.0-2
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.
- Record
AZL-81180- Updated
- 2026-11-05
OSVopenSUSE-SU-2026:20566-1 No score
Security update for Botan
This update for Botan fixes the following issue:
- CVE-2026-32884: Certificate validation bypass due to mixed-case Common Name in X.509 certificates (bsc#1261993).
- Record
openSUSE-SU-2026:20566-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
botan3Alpine:v3.24 |
before 3.11.0-r0 | 3.11.0-r0 |
botan2Azure Linux:3 |
through 2.14.0-2 | None known |
botanDebian:12 |
All versions, plus listed versions 2.19.3+dfsg-12.19.3+dfsg-1+deb12u12.19.4+dfsg-12.19.5+dfsg-12.19.5+dfsg-22.19.5+dfsg-32.19.5+dfsg-4 |
None known |
botanDebian:13 |
All versions, plus listed versions 2.19.5+dfsg-4 |
None known |
botan3Debian:13 |
before 3.11.0+dfsg-2, plus listed versions 3.10.0+dfsg-13.10.0+dfsg-23.11.0+dfsg-13.7.1+dfsg-23.8.1+dfsg-13.9.0+dfsg-13.9.0+dfsg-23.9.0+dfsg-2.1 |
3.11.0+dfsg-2 |
botan3Debian:14 |
before 3.11.0+dfsg-2, plus listed versions 3.10.0+dfsg-13.10.0+dfsg-23.11.0+dfsg-13.7.1+dfsg-23.8.1+dfsg-13.9.0+dfsg-13.9.0+dfsg-23.9.0+dfsg-2.1 |
3.11.0+dfsg-2 |
botan1.10Ubuntu:Pro:14.04:LTS |
All versions, plus listed versions 1.10.5-11.10.5-1ubuntu11.10.5-1+deb7u1ubuntu0.14.04.11.10.5-1+deb7u1ubuntu0.14.04.1+esm1 |
None known |
botan1.10Ubuntu:16.04:LTS |
All versions, plus listed versions 1.10.10-61.10.12-1 |
None known |
botanUbuntu:18.04:LTS |
All versions, plus listed versions 2.4.0-32.4.0-42.4.0-5ubuntu1 |
None known |
botan1.10Ubuntu:18.04:LTS |
All versions, plus listed versions 1.10.16-11.10.17-0.1 |
None known |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
botanUbuntu:20.04:LTS |
All versions, plus listed versions 2.9.0-22.9.0-2build12.12.1-22.12.1-2build1 |
None known |
botanUbuntu:Pro:22.04:LTS |
All versions, plus listed versions 2.17.3+dfsg-32.19.1+dfsg-2ubuntu12.19.1+dfsg-2ubuntu1+esm1 |
None known |
botanUbuntu:Pro:24.04:LTS |
All versions, plus listed versions 2.19.3+dfsg-1ubuntu12.19.3+dfsg-1ubuntu22.19.3+dfsg-1ubuntu2+esm1 |
None known |
botanUbuntu:25.10 |
All versions, plus listed versions 2.19.5+dfsg-4 |
None known |
botan3Ubuntu:25.10 |
All versions, plus listed versions 3.7.1+dfsg-2 |
None known |
botan3Ubuntu:26.10 |
All versions, plus listed versions 3.10.0+dfsg-23.11.1+dfsg-23.12.0+dfsg-2 |
None known |
botan3Ubuntu:26.04:LTS |
All versions, plus listed versions 3.7.1+dfsg-23.10.0+dfsg-2 |
None known |
BotanopenSUSE:Leap 16.0 |
before 3.7.1-160000.4.1 | 3.7.1-160000.4.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| first indexed | CVE List, EUVD, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-32884 is a medium vulnerability (CVSS 5.9) in Botan Project Botan, published March 30, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.17%, the 5th percentile. Fixed in botan3 3.11.0-r0.
References
github.com/randombit/botan/security/advisories/GHSA-7c3g-7763-ggj5
security.alpinelinux.org/vuln/CVE-2026-32884
nvd.nist.gov/vuln/detail/CVE-2026-32884
github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32884.json
security-tracker.debian.org/tracker/CVE-2026-32884
ubuntu.com/security/CVE-2026-32884
cve.org/CVERecord?id=CVE-2026-32884
bugzilla.suse.com/1261993
suse.com/security/cve/CVE-2026-32884