Skip to main content

Botan CVE-2026-34582

| EUVDEUVD-2026-19948 HIGH
Improper Enforcement of Behavioral Workflow (CWE-841)
2026-04-07 GitHub_M
8.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Client omits Certificate and Finished messages
  2. Exploit
    Send ApplicationData records early
  3. Execution
    Bypass TLS 1.3 authentication verification
  4. Impact
    Access protected resources without client certificate

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Workflow enforcement
Exploitation Conditions

Botan C++ cryptography library versions prior to 3.11.1 with TLS 1.3 enabled. Remote unauthenticated attacker can bypass client certificate authentication by omitting Certificate, CertificateVerify, and Finished messages, sending ApplicationData records instead. Affects servers enforcing mutual TLS authentication.

Impact

Real-world risk is HIGH for deployments using Botan TLS 1.3 servers with mandatory client certificate authentication, despite no confirmed active exploitation (CISA KEV not listed). The CVSS 4.0 vector indicates maximum exploitability: network attack vector (AV:N), low complexity (AC:L), no attack requirements (AT:N), no privileges needed (PR:N), and no user interaction (UI:N). High integrity impact (VI:H) directly maps to authentication bypass scenarios where certificate validation is the sole access control mechanism. However, impact is narrowly scoped to TLS 1.3 client-auth deployments specifically - servers using other auth methods (password, token) or TLS 1.2 are unaffected. EPSS data not provided, but the protocol-level nature and GitHub Security Advisory disclosure increase likelihood of proof-of-concept development. SSVC decision factors favor prioritization: exploitation status is public (advisory published), automatable (protocol manipulation tools exist), and technical impact is total for targeted configurations (complete auth bypass). The narrow deployment scope (TLS 1.3 client-auth using Botan) reduces overall exposure compared to more ubiquitous vulnerabilities, but organizations meeting these criteria face critical risk requiring immediate patching.

Exploit ScenarioDerived

An attacker targets a Botan-based TLS 1.3 server requiring client certificate authentication for API access. The attacker initiates a TLS 1.3 handshake, completes ServerHello and key exchange, but deliberately omits the Certificate, CertificateVerify, and Finished messages. Instead, the attacker immediately sends ApplicationData records containing API requests. The vulnerable Botan server processes these requests as authenticated traffic despite never validating client credentials, granting the unauthenticated attacker full access to certificate-protected resources. This bypass is network-exploitable with scripted TLS client modifications and requires no legitimate credentials or user interaction.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – Apr 07, 2026

TLS 1.3 client authentication bypass in Botan cryptography library versions prior to 3.11.1 allows unauthenticated remote attackers to skip certificate validation by sending ApplicationData records before the Finished handshake message. Exploiting this vulnerability requires no authentication (PR:N), low attack complexity (AC:L), and no user interaction (UI:N), resulting in complete integrity compromise (VI:H) for TLS 1.3 servers relying on mutual authentication. CVSS 8.7 severity reflects the network-accessible attack surface and direct violation of cryptographic protocol invariants (CWE-841: Improper Enforcement of Behavioral Workflow). No public exploit identified at time of analysis, though the protocol-level flaw in a widely-used cryptographic library presents significant risk to certificate-based access control mechanisms.

RemediationAI

Vendor-released patch: Upgrade to Botan version 3.11.1 or later, which corrects the TLS 1.3 state machine to properly enforce handshake message ordering and reject ApplicationData records received before validating the client's Finished message. The fix is confirmed in the vendor advisory at https://github.com/randombit/botan/security/advisories/GHSA-pxcj-9ppx-g86g. Organizations unable to immediately upgrade should consider temporary mitigations including disabling TLS 1.3 client authentication and reverting to TLS 1.2 with client certificates, or implementing additional application-layer authentication controls that do not rely solely on TLS client certificates. Review logs for anomalous connection patterns where application data was exchanged without complete handshake sequences, though detection may be challenging without protocol-level inspection.

Affected VersionsENISA

Botan < 3.11.1

Affected Packages

euvd botan fix: 3.11.1

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 (randombit/botan) is a C++ cryptography library providing TLS 1.3 implementation among other cryptographic primitives. The vulnerability stems from CWE-841 (Improper Enforcement of Behavioral Workflow), specifically a state machine flaw in the TLS 1.3 handshake validation logic. RFC 8446 mandates that in client-authenticated TLS 1.3 connections, the Certificate, CertificateVerify, and Finished messages must be received and validated before processing ApplicationData. The Botan implementation incorrectly accepted ApplicationData records prematurely, allowing clients to bypass the final authentication step. The Finished message contains a MAC over the entire handshake transcript including certificate verification data; processing application data before validating this MAC violates fundamental TLS security properties. This affects the cpe:2.3:a:randombit:botan product across all versions before 3.11.1 where TLS 1.3 server functionality with client authentication is enabled.

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

Vendor (GitHub_M) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Red Hat 9.1 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 06:02 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
3.11.1
CVE Published
Apr 07, 2026 - 21:13 nvd
HIGH 8.7

DescriptionCVE.org

Botan is a C++ cryptography library. Prior to version 3.11.1, the TLS 1.3 implementation allowed ApplicationData records to be processed prior to the Finished message being received. A server which is attempting to enforce client authentication via certificates can by bypassed by a client which entirely omits Certificate, CertificateVerify, and the Finished message and instead sends application data records. This vulnerability is fixed in 3.11.1.

Executive ViewAI

Why It Matters

Botan cryptography library versions before 3.11.1 contain a TLS 1.3 client authentication bypass that allows unauthenticated remote attackers to skip certificate validation, directly compromising any organization relying on mutual TLS authentication for access control or API security. This affects all servers using Botan for TLS 1.3 mutual authentication, potentially exposing certificate-protected services to unauthorized access without triggering security controls.

Business Impact: High
Compensating Controls

Apply vendor patch: Botan 3.11.1 or later. If immediate patching is not feasible, disable TLS 1.3 mutual authentication and fall back to TLS 1.2 with equivalent mutual TLS configuration as interim mitigation, or implement network-level access controls restricting TLS connections to verified client IP ranges.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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: Critical
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