Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPresent end entity certificate with matching DN
-
DeliveryCertificate_Store returns true for non-identical cert
-
ExploitPath validation assumes certificate identity
-
ExecutionBypass certificate verification checks
-
ImpactAccept invalid or malicious certificate
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Remote unauthenticated attacker can present a crafted end-entity certificate with matching DN and subject key identifier to Botan 3.11.0 during X.509 certificate path validation. No victim interaction required; exploitation occurs during certificate chain verification in default configurations. |
| Impact | This vulnerability presents critical real-world risk despite limited version exposure. The CVSS v4.0 score of 9.3 reflects maximum network attack surface (AV:N), no authentication requirements (PR:N), low attack complexity (AC:L), and high impact across confidentiality, integrity, and availability (VC:H/VI:H/VA:H). An attacker needs only to obtain or generate a certificate with DN and SKI matching any trusted root-trivial for publicly-known root CA attributes-to completely bypass certificate chain validation. This enables man-in-the-middle attacks against any TLS connection validated by Botan 3.11.0, with automatable exploitation requiring minimal skill. However, risk is substantially mitigated by the narrow affected version range (only 3.11.0, released recently) and rapid patch availability in 3.11.1. No EPSS score is provided, and no CISA KEV listing exists, indicating no confirmed active exploitation. The vulnerability is not a zero-day; it was publicly disclosed through GitHub Security Advisory GHSA-v782-6fq4-q827 with immediate patch availability. Organizations using Botan 3.11.0 in production TLS implementations face severe risk and should prioritize immediate remediation, while those on earlier versions (3.10.x or below) or who have already updated to 3.11.1+ are not affected. |
| Exploit ScenarioDerived | An attacker intercepts TLS traffic destined for a legitimate server protected by a certificate chain rooted in a well-known CA like DigiCert or Let's Encrypt. The attacker generates a self-signed certificate with DN field cn=DigiCert Global Root G2 and matching Subject Key Identifier extracted from the public root certificate. When the victim application using Botan 3.11.0 validates the attacker's certificate, Certificate_Store::certificate_known matches the DN and SKI against its trusted root store and incorrectly returns true, causing the malicious certificate to be accepted as a trusted root without cryptographic verification. The attacker establishes a man-in-the-middle position, decrypting and potentially modifying all TLS traffic. This scenario requires only network interception capability and knowledge of public root CA attributes, making it automatable and highly practical against vulnerable deployments. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 07, 2026
Certificate validation bypass in Botan 3.11.0 allows unauthenticated remote attackers to impersonate trusted certificate authorities by presenting end-entity certificates with matching Distinguished Names and subject key identifiers. The flaw in Certificate_Store::certificate_known incorrectly accepts malicious certificates as trusted roots without verifying actual certificate identity, enabling complete TLS/PKI chain validation bypass. This affects only version 3.11.0 and is fixed in 3.11.1. EPSS data not available; no public exploit identified at time of analysis, though the attack vector is network-accessible with low complexity (CVSS:4.0 AV:N/AC:L/PR:N).
RemediationAI
Upgrade immediately to Botan version 3.11.1, which corrects the Certificate_Store::certificate_known logic to verify complete certificate identity rather than solely DN and SKI attribute matching. The vendor-released patch is available through standard Botan distribution channels and documented in GitHub Security Advisory GHSA-v782-6fq4-q827 at https://github.com/randombit/botan/security/advisories/GHSA-v782-6fq4-q827. Organizations running version 3.11.0 in production should treat this as an emergency upgrade due to the trivial exploit path and critical impact on TLS security. No workarounds are available; the only effective remediation is version upgrade. For systems unable to immediately upgrade, consider temporarily reverting to Botan 3.10.x stable releases until 3.11.1 deployment is feasible, though this may require code compatibility assessment. Verify patch application by confirming installed version reports 3.11.1 or later and review application logs for any suspicious certificate validation failures that may indicate prior exploitation attempts.
Affected VersionsENISA
Affected Packages
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 widely-used C++ cryptography library providing TLS, X.509, and public key infrastructure capabilities. The vulnerability resides in the Certificate_Store::certificate_known function introduced in version 3.11.0, which performs certificate validation during TLS handshakes and X.509 path building. The function was designed to check if a certificate exists in the trusted store but implemented flawed comparison logic-it matched only the Distinguished Name (DN) and optional Subject Key Identifier (SKI) fields rather than performing cryptographic verification of the entire certificate structure. This represents CWE-295 (Improper Certificate Validation), a critical flaw in PKI trust anchor verification. When path validation logic was extended in 3.11.0 to optimize lookups, it incorrectly assumed certificate_known performed identity verification rather than merely attribute matching. The affected product CPE is cpe:2.3:a:randombit:botan:3.11.0, indicating a single-version regression rather than longstanding architectural weakness.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
Botan is a C++ cryptography library. In 3.11.0, the function Certificate_Store::certificate_known had a misleading name; it would return true if any certificate in the store had a DN (and subject key identifier, if set) matching that of the argument. It did not check that the cert it found and the cert it was passed were actually the same certificate. In 3.11.0 an extension of path validation logic was made which assumed that certificate_known only returned true if the certificates were in fact identical. The impact is that if an end entity certificate is presented, and its DN (and subject key identifier, if set) match that of any trusted root, the end entity certificate is accepted immediately as if it itself were a trusted root. , This vulnerability is fixed in 3.11.1.
Executive ViewAI
Botan 3.11.0 contains a critical certificate validation bypass that allows unauthenticated attackers to impersonate trusted certificate authorities and bypass TLS security controls. Any organization using this specific version for cryptographic or certificate validation operations faces immediate risk of man-in-the-middle attacks and compromised authentication chains. Immediate patching to 3.11.1 is essential to restore PKI integrity.
Apply vendor patch. No interim mitigations eliminate the validation bypass; only upgrade to Botan 3.11.1 restores proper certificate chain verification.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Integer overflow in the PointGFp constructor in Botan before 1.10.11 and 1.11.x before 1.11.27 allows remote attackers t
Heap-based buffer overflow in the P-521 reduction function in Botan 1.11.x before 1.11.27 allows remote attackers to cau
A programming error exists in a way Randombit Botan cryptographic library version 2.0.1 implements x500 string compariso
Botan before 3.6.0, when certain GCC versions are used, has a compiler-induced secret-dependent operation in lib/utils/d
Botan before 3.6.0, when certain LLVM versions are used, has compiler-induced secret-dependent control flow in lib/utils
The ElGamal implementation in Botan through 2.18.1, as used in Thunderbird and other products, allows plaintext recovery
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
botan 1.11.x before 1.11.22 improperly handles wildcard matching against hostnames, which might allow remote attackers t
The Curve25519 code in botan before 1.11.31, on systems without a native 128-bit integer type, might allow attackers to
In Botan 1.8.0 through 1.11.33, when decoding BER data an integer overflow could occur, which would cause an incorrect l
In Botan before 2.17.3, constant-time computations are not used for certain decoding and encoding operations (base32, ba
Botan 2.2.0 - 2.4.0 (fixed in 2.5.0) improperly handled wildcard certificates and could accept certain certificates as v
Same weakness CWE-295 – Improper Certificate Validation
View allSame technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: High| 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 |
| SUSE Linux Enterprise Desktop 12 | Fixed |
| SUSE Linux Enterprise Desktop 12 SP1 | Fixed |
| SUSE Linux Enterprise Desktop 12 SP2 | Fixed |
| SUSE Linux Enterprise Desktop 12 SP3 | Fixed |
| SUSE Linux Enterprise Desktop 12 SP4 | Fixed |
| SUSE Linux Enterprise Server 12 | Fixed |
| SUSE Linux Enterprise Server 12 SP1 | Fixed |
| SUSE Linux Enterprise Server 12 SP2 | Fixed |
| SUSE Linux Enterprise Server 12 SP3 | Fixed |
| SUSE Linux Enterprise Server 12 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP1 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 SP1 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 SP2 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 SP3 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 SP4 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 SP5 | Fixed |
EUVD-2026-19947
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB