Skip to main content

Botan EUVDEUVD-2026-17212

| CVE-2026-32884 MEDIUM
Improper Certificate Validation (CWE-295)
2026-03-30 GitHub_M
5.9
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
Impact

The CVSS v3.1 score of 5.9 with vector AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N indicates a network-accessible vulnerability requiring high attack complexity, unauthenticated access, no user interaction, with integrity impact but no confidentiality or availability impact. The high attack complexity likely reflects the requirement to craft a malicious certificate and present it during a TLS handshake to a system enforcing name constraints. The integrity impact is significant: successful exploitation allows an attacker to establish a secure connection to a domain that should have been restricted by name constraints, potentially enabling man-in-the-middle attacks or unauthorized certificate issuance for restricted domains. The moderate CVSS score combined with the requirement for system-level certificate validation policies (name constraints are typically configured by PKI administrators rather than individual users) suggests this is primarily a risk to organizations implementing strict certificate policies. The impact is meaningful for certificate validation infrastructure and systems that rely on name constraints to enforce domain ownership boundaries, but the practical attack surface depends on whether the target system has name constraints configured. No public exploit code or active exploitation is indicated in the provided data.

Exploit ScenarioDerived

An attacker obtains or constructs an X.509 certificate with a Common Name containing mixed-case characters (e.g., CN=Sub.EVIL.COM) and no Subject Alternative Name extension, targeting a domain restricted by an excludedSubtrees name constraint (e.g., evil.com). When a system using vulnerable Botan validates this certificate during a TLS connection, the case-sensitive CN comparison fails to detect the constraint violation, allowing the certificate to be incorrectly validated. The attacker can then use this certificate to establish a secure connection impersonating the restricted domain, potentially intercepting or misdirecting traffic. The requirement for high attack complexity suggests the attacker must either control the TLS server presenting the malicious certificate or exploit it in a specific validation context where name constraints are enforced.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 30, 2026

Botan cryptography library versions prior to 3.11.0 fail to properly validate X.509 certificate DNS name constraints due to case-sensitive comparison of the Common Name field, allowing attackers to present certificates with mixed-case Common Names that bypass name constraint restrictions and potentially establish unauthorized secure connections to restricted domains.

RemediationAI

The primary remediation is to upgrade Botan to version 3.11.0 or later, which patches the case-sensitive comparison issue by implementing case-insensitive DNS name validation consistent with RFC 5280 requirements. Organizations unable to immediately upgrade should review their certificate validation configurations and consider disabling name constraint enforcement if it is not critical to their security posture, though this is not recommended for PKI infrastructure. System administrators should audit any certificates currently in use that were issued with name constraints to ensure no mixed-case CN values were accepted during validation. The patch is available in the official Botan GitHub repository (https://github.com/randombit/botan/security/advisories/GHSA-7c3g-7763-ggj5).

Affected VersionsENISA

Botan < 3.11.0

Affected Packages

euvd botan fix: 3.11.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Botan is a C++ cryptography library used for SSL/TLS and certificate validation. The vulnerability exists in the X.509 certificate path validation logic that processes name constraints, specifically the excludedSubtrees constraint as defined in RFC 5280. When an end-entity certificate lacks a Subject Alternative Name (SAN) extension, RFC 5280 technically does not require validation of the Common Name (CN) against name constraints; however, Botan implements this additional check. The root cause (CWE-295: Improper Certificate Validation) stems from a case-sensitive string comparison when evaluating whether a CN matches a DNS name constraint. RFC 5280 specifies that DNS name comparisons must be performed in a case-insensitive manner. A certificate with CN=Sub.EVIL.COM would bypass an excludedSubtrees constraint for evil.com because the uppercase characters in the CN do not match the lowercase constraint during the case-sensitive comparison, allowing the certificate to be incorrectly validated as compliant with the constraint.

Know when Botan gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
SUSE MEDIUM
Red Hat 6.5 MEDIUM

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Apr 16, 2026 - 05:29 EUVD
3.11.0
CVE Published
Mar 30, 2026 - 20:36 nvd
MEDIUM 5.9

DescriptionGitHub Advisory

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Botan

View all
CVE-2016-2195 CRITICAL
9.8 May 13

Integer overflow in the PointGFp constructor in Botan before 1.10.11 and 1.11.x before 1.11.27 allows remote attackers t

CVE-2016-2196 CRITICAL
9.8 May 13

Heap-based buffer overflow in the P-521 reduction function in Botan 1.11.x before 1.11.27 allows remote attackers to cau

CVE-2017-2801 MEDIUM POC
6.5 May 24

A programming error exists in a way Randombit Botan cryptographic library version 2.0.1 implements x500 string compariso

CVE-2024-50383 MEDIUM POC
5.9 Oct 23

Botan before 3.6.0, when certain GCC versions are used, has a compiler-induced secret-dependent operation in lib/utils/d

CVE-2024-50382 MEDIUM POC
5.9 Oct 23

Botan before 3.6.0, when certain LLVM versions are used, has compiler-induced secret-dependent control flow in lib/utils

CVE-2021-40529 MEDIUM POC
5.9 Sep 06

The ElGamal implementation in Botan through 2.18.1, as used in Thunderbird and other products, allows plaintext recovery

CVE-2018-12435 MEDIUM POC
5.9 Jun 15

Botan 2.5.0 through 2.6.0 before 2.7.0 allows a memory-cache side-channel attack on ECDSA signatures, aka the Return Of

CVE-2015-7826 CRITICAL
9.8 Apr 10

botan 1.11.x before 1.11.22 improperly handles wildcard matching against hostnames, which might allow remote attackers t

CVE-2016-6878 CRITICAL
9.8 Apr 10

The Curve25519 code in botan before 1.11.31, on systems without a native 128-bit integer type, might allow attackers to

CVE-2016-9132 CRITICAL
9.8 Jan 30

In Botan 1.8.0 through 1.11.33, when decoding BER data an integer overflow could occur, which would cause an incorrect l

CVE-2021-24115 CRITICAL
9.8 Feb 22

In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32, ba

CVE-2018-9127 CRITICAL
9.8 Apr 02

Botan 2.2.0 - 2.4.0 (fixed in 2.5.0) improperly handled wildcard certificates and could accept certain certificates as v

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Server 12 SP5 Fixed
SUSE Linux Enterprise Server 12 SP5-LTSS Fixed
SUSE Linux Enterprise Server 12 SP5-LTSS Extended Security Fixed
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 Fixed
SUSE Linux Enterprise Server for SAP Applications 12 SP5 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy