CVE-2026-32884 Botan: Case-Insensitive CN Values Bypass DNS excludedSubtrees Name Constraints (RFC 5280 Violation)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
13 packages: 4 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/botan(Debian 12) | = 2.19.3+dfsg-1; = 2.19.3+dfsg-1+deb12u1; = 2.19.4+dfsg-1; = 2.19.5+dfsg-1 +4 more | No fix listed | No fix yet |
| debian/botan(Debian 13) | = 2.19.5+dfsg-4; All versions | No fix listed | No fix yet |
| redhat/rust-sequoia-sq(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/rust-sequoia-sqv(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| ubuntu/botan(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/botan(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/botan3(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/botan3(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/botan3(Alpine v3.24) | < 3.11.0-r0 | 3.11.0-r0 | Fixed |
| botan project botan | < 3.11.0 | 3.11.0 | Fixed |
| debian/botan3(Debian 13) | < 3.11.0+dfsg-2; = 3.7.1+dfsg-2; = 3.8.1+dfsg-1; = 3.9.0+dfsg-1 +5 more | 3.11.0+dfsg-2 | Fixed |
| debian/botan3(Debian 14) | < 3.11.0+dfsg-2; = 3.7.1+dfsg-2; = 3.8.1+dfsg-1; = 3.9.0+dfsg-1 +5 more | 3.11.0+dfsg-2 | Fixed |
| randombit botan | = < 3.11.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| randombit botan | = < 3.11.0 | No fix listed |
| debian/botan(Debian:12) | All versions | No fix listed |
| debian/botan(Debian:12) | = 2.19.3+dfsg-1 | No fix listed |
| debian/botan(Debian:12) | = 2.19.3+dfsg-1+deb12u1 | No fix listed |
| debian/botan(Debian:12) | = 2.19.4+dfsg-1 | No fix listed |
| debian/botan(Debian:12) | = 2.19.5+dfsg-1 | No fix listed |
| debian/botan(Debian:12) | = 2.19.5+dfsg-2 | No fix listed |
| debian/botan(Debian:12) | = 2.19.5+dfsg-3 | No fix listed |
| debian/botan(Debian:12) | = 2.19.5+dfsg-4 | No fix listed |
| debian/botan(Debian:13) | All versions | No fix listed |
| debian/botan(Debian:13) | = 2.19.5+dfsg-4 | No fix listed |
| debian/botan3(Debian:13) | < 3.11.0+dfsg-2 | 3.11.0+dfsg-2 |
| debian/botan3(Debian:13) | = 3.10.0+dfsg-1 | No fix listed |
| debian/botan3(Debian:13) | = 3.10.0+dfsg-2 | No fix listed |
| debian/botan3(Debian:13) | = 3.11.0+dfsg-1 | No fix listed |
| debian/botan3(Debian:13) | = 3.7.1+dfsg-2 | No fix listed |
| debian/botan3(Debian:13) | = 3.8.1+dfsg-1 | No fix listed |
| debian/botan3(Debian:13) | = 3.9.0+dfsg-1 | No fix listed |
| debian/botan3(Debian:13) | = 3.9.0+dfsg-2 | No fix listed |
| debian/botan3(Debian:13) | = 3.9.0+dfsg-2.1 | No fix listed |
| debian/botan3(Debian:14) | < 3.11.0+dfsg-2 | 3.11.0+dfsg-2 |
| debian/botan3(Debian:14) | = 3.10.0+dfsg-1 | No fix listed |
| debian/botan3(Debian:14) | = 3.10.0+dfsg-2 | No fix listed |
| debian/botan3(Debian:14) | = 3.11.0+dfsg-1 | No fix listed |
| debian/botan3(Debian:14) | = 3.7.1+dfsg-2 | No fix listed |
Show 12 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/botan3(Debian:14) | = 3.8.1+dfsg-1 | No fix listed |
| debian/botan3(Debian:14) | = 3.9.0+dfsg-1 | No fix listed |
| debian/botan3(Debian:14) | = 3.9.0+dfsg-2 | No fix listed |
| debian/botan3(Debian:14) | = 3.9.0+dfsg-2.1 | No fix listed |
| redhat/rust-sequoia-sq(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/rust-sequoia-sqv(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| ubuntu/botan(Ubuntu:22.04) | All versions | No fix listed |
| alpine/botan3(Alpine:v3.24) | < 3.11.0-r0 | 3.11.0-r0 |
| ubuntu/botan(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/botan3(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/botan3(Ubuntu:26.10) | All versions | No fix listed |
| botan project botan | < 3.11.0 | 3.11.0 |
References
- https://github.com/randombit/botan/security/advisories/GHSA-7c3g-7763-ggj5 vendor-advisory
- Debian Security Tracker CVE-2026-32884 vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2453205 issue-tracking
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- security.alpinelinux.org vendor-advisory