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.
Published: 2026-03-30
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Certificate trust bypass via DNS name constraint violation
Action: Immediate Patch
AI Analysis

Impact

Botan contains a flaw in its X.509 name constraint handling that allows a malicious certificate to bypass excluded DNS subtrees if the end‑entity certificate has no subject alternative name and the common name uses mixed‑case characters. This enables an attacker to forge a certificate that appears valid for a restricted domain while actually referencing an excluded domain, thereby compromising the integrity of certificate validation.

Affected Systems

The vulnerability affects randombit Botan cryptographic library versions prior to 3.11.0. Any software that links against these versions is vulnerable. No specific operating system or platform limits are identified beyond the use of the affected Botan library.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity, while the EPSS score is below 1% suggesting a low likelihood of current exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to generate or acquire a certificate chain containing a case‑variant CN without a subject alternative name and present it to a system performing X.509 validation with Botan. The flaw lies in certificate validation logic rather than code execution, so its impact is limited to trust bypass rather than arbitrary code execution. The attack vector is inferred to be through forged certificates and does not require additional software vulnerabilities.

Generated by OpenCVE AI on April 13, 2026 at 16:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply Botan version 3.11.0 or later, which includes the fix for case‑insensitive CN handling
  • Rebuild or update any software that links against the affected Botan library to ensure the patched version is used
  • Consider disabling name‑constraint checks in the verification logic as a temporary mitigation if patching is not immediately possible, noting the increase in trusted domain exposure
  • Monitor vendor advisories and security bulletins for any additional mitigations or workarounds

Generated by OpenCVE AI on April 13, 2026 at 16:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 13 Apr 2026 14:00:00 +0000

Type Values Removed Values Added
First Time appeared Botan Project
Botan Project botan
CPEs cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:*
Vendors & Products Botan Project
Botan Project botan

Mon, 13 Apr 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-178
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 01 Apr 2026 02:15:00 +0000

Type Values Removed Values Added
First Time appeared Randombit
Randombit botan
Vendors & Products Randombit
Randombit botan

Tue, 31 Mar 2026 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 31 Mar 2026 03:00:00 +0000

Type Values Removed Values Added
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.
Title Botan: Case-Insensitive CN Values Bypass DNS excludedSubtrees Name Constraints (RFC 5280 Violation)
Weaknesses CWE-295
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N'}


Subscriptions

Botan Project Botan
Randombit Botan
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-31T18:53:35.754Z

Reserved: 2026-03-16T21:03:44.421Z

Link: CVE-2026-32884

cve-icon Vulnrichment

Updated: 2026-03-31T18:50:35.503Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-30T21:17:10.093

Modified: 2026-04-13T13:52:26.887

Link: CVE-2026-32884

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-03-30T20:36:19Z

Links: CVE-2026-32884 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-14T16:42:32Z

Weaknesses