Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain on-path position on plaintext OCSP HTTP (or control responder)
-
DeliveryOperator/automation runs botan ocsp_check on revoked cert
-
ExploitReturn forged GOOD response with empty/invalid signature
-
ExecutionCLI omits signature and signer authorization check
-
ImpactExit status 0, revoked certificate trusted
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | Exploitation requires that the target use the Botan command-line interface subcommand |
| Impact | This is a medium-severity integrity flaw (CVSS 4.0 base 5.9) whose signals are internally consistent and point to a real-but-bounded priority rather than an emergency. The CVSS 4.0 vector AV:A/AC:L/AT:P/PR:N/UI:P shows an adjacent/on-path attacker (AT:P captures the requirement to sit on the OCSP HTTP path or control the responder), no privileges, but a passive user-interaction requirement (UI:P) because an operator or automated job must actually invoke the CLI subcommand. Impact is integrity-only (VI:H; VC/VA:N, no subsequent-system scope), reflecting that a revoked certificate is wrongly accepted as valid rather than any data disclosure or availability loss. No EPSS score and no KEV status were supplied in the input, and no public exploit or PoC reference is present (only the vendor advisory, fix PR, and commit) - so there is no evidence of active or widespread exploitation. The vuln.today decision label is this_month, consistent with a serious correctness/trust flaw that warrants scheduled remediation but is dampened by its narrow attack surface. The most important limiting fact is scope: the advisory and the diff confirm ONLY the command-line interface |
| Exploit ScenarioDerived | An operator or CI/CD job uses |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 29, 2026
The botan ocsp_check CLI subcommand in Botan 1.11.34 through 3.12.x prints "OCSP check OK" and returns exit status 0 for a revoked certificate when a hostile OCSP responder or an on-path attacker supplies a matching, timely GOOD response carrying an empty, invalid, or unauthorized signature. Only the command-line tool is affected - Botan's OCSP and PKIX path-validation library APIs are not - so exposure is confined to operators and automation that gate revocation decisions on this command's exit code or stdout. Severity is medium (CVSS 4.0 base 5.9; assessed CVSS 3.1 base 5.9, AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N), there is no CISA KEV entry and no public exploit tooling was identified at time of analysis, although the upstream fix PR ships regression fixtures that reproduce an unsigned GOOD response being accepted by the vulnerable build. The priority label from vuln.today is this_month.
RemediationAI
Upgrade to Botan 3.13.0, the version named by the vendor as the fix, which is delivered through https://github.com/randombit/botan/pull/5825 and commit 46b2a9ca59b0797184fbf7537495bda6e61a1983 and is documented in the advisory at https://github.com/randombit/botan/security/advisories/GHSA-mpr7-9494-4qcw; the patched code validates the OCSP response signature and authorizes the signer against a certificate store before reporting success, so any revocation gating built on this command's exit status or output becomes trustworthy again. There is no separate vendor-supplied partial fix - the advisory presents updating as the remedy, and the library API path was never affected, so applications that can perform OCSP checking through Botan::PKIX::check_ocsp() and overall_status() rather than shelling out to the CLI avoid the flaw entirely while remaining on an older release, at the cost of code changes and of the CLI's convenience output. Until an upgrade can be scheduled, treat botan ocsp_check output as advisory only and do not let exit status 0 authorize a certificate: corroborate revocation status out of band via a CRL fetched over HTTPS or via a responder reached over a mutually authenticated channel, and restrict where the tool is invoked to hosts where an on-path attacker on the AIA connection is not plausible. Disabling or skipping the revocation check is not an acceptable substitute, since it discards revocation status information altogether, and pinning AIA endpoints to HTTPS only helps if the certificate's AIA URL and the responder actually support TLS.
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
OCSP (Online Certificate Status Protocol) lets a relying party ask a responder whether a certificate has been revoked; the responder URL is usually carried in the certificate's Authority Information Access (AIA) extension and in practice is very often plain HTTP. The CLI's ocsp_check command fetched that response and passed it straight to OCSP::Response::status_for(), which only confirms that the response corresponds to the queried issuer/subject pair, is within its validity window, and says GOOD - it does not verify the response's signature nor authorize the signer against any trust store. The root cause is CWE-347, Improper Verification of Cryptographic Signature: an attacker with control of the response body needs no OCSP signing certificate and no private key at all, because a signature that is absent, malformed, or chained to an untrusted responder is equally accepted. The upstream fix (PR 5825) routes the check through Botan::PKIX::check_ocsp() with a Certificate_Store of trusted CAs and Path_Validation_Restrictions, then requires both an overall OK status and the presence of OCSP_RESPONSE_GOOD in the per-certificate result before returning success. Because the defect lived in the CLI command implementation in src/cli/x509.cpp rather than in the OCSP parsing or PKIX validation code, library consumers that call the validation APIs directly were never on this code path. The trigger for a misleading result is simply an attacker-influenced response body reaching a locally executed command; the CVSS 4.0 vector's AT:P and UI:P reflect that a manipulated responder or network position plus a user or scheduled job running the tool are both required.
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:A/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
On-path/adjacent attacker over plaintext OCSP HTTP (AV:A), operator must run the CLI (UI:R), no privileges needed (PR:N); revocation decision is subverted so I:H, with no confidentiality or availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Botan is a C++ cryptography library. From 1.11.34 until 3.13.0, the botan ocsp_check command requested an OCSP response from a certificate's Authority Information Access URL without verifying the response signature or authorizing the signer. A malicious responder or on-path attacker could return a matching and timely GOOD response with an empty, invalid, or unauthorized signature, causing a revoked certificate to produce exit status 0 and OCSP check OK output. Only the command-line interface is affected. This issue is fixed in version 3.13.0.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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
EUVD-2026-113277
NVD
CVE.org
EPSS
GitHub
Exploit-DB