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

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-03-30T20:36:19.729Z
- Modified: 2026-06-17T10:36:30.417Z
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- randombit botan: < 3.11.0
- botan_project botan: before 3.11.0

## References

- <https://github.com/randombit/botan/security/advisories/GHSA-7c3g-7763-ggj5> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-32884](https://www.cve.org/CVERecord?id=CVE-2026-32884), CVE Terms of Use, modified 2026-03-31
- NVD: [CVE-2026-32884](https://nvd.nist.gov/vuln/detail/CVE-2026-32884), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32884 · Whole record: https://cve.day/CVE-2026-32884.json · Rebuilt by cve.day 2026-11-25T22:59:17.536Z
