CVE-2026-32883
Botan vulnerability analysis and mitigation

Overview

CVE-2026-32883 is a missing OCSP response signature verification vulnerability in the Botan C++ cryptography library that allows a man-in-the-middle (MitM) attacker to bypass certificate revocation checks during X.509 path validation. Affecting Botan versions 3.0.0 through 3.10.x (the bug was introduced in 3.0.0 and does not affect the 2.x branch), the flaw was published on March 30, 2026, and patched in version 3.11.0. It carries a CVSS v3.1 base score of 5.9 (Medium) (GitHub Advisory).

Technical details

The root cause is classified as CWE-347 (Improper Verification of Cryptographic Signature) and CWE-299 (Improper Check for Certificate Revocation). During X.509 path validation, Botan's OCSP handling code checked the status code field of an OCSP response to determine certificate revocation status, but entirely omitted verifying the cryptographic signature on the OCSP response itself. Because OCSP is typically served over plain HTTP, an attacker positioned between a Botan-based client and the OCSP responder can intercept and tamper with the response body — substituting a forged "good" status for a revoked certificate — without any detection by the library. Realistic network-level attack vectors include DNS hijacking, BGP hijacking, or a rogue wireless access point (GitHub Advisory).

Impact

Successful exploitation allows an attacker to present a revoked or otherwise fraudulent TLS certificate as valid to any application relying on Botan for X.509 path validation, effectively bypassing certificate revocation enforcement. This compromises the integrity of certificate validation and enables MitM attacks against encrypted communications, potentially exposing sensitive data in transit or facilitating impersonation of trusted services. There is no direct confidentiality or availability impact from the vulnerability itself, but the downstream consequences of accepting fraudulent certificates can be severe depending on the application context (GitHub Advisory, Feedly).

Exploitation steps

  1. Reconnaissance: Identify applications or services using Botan versions 3.0.0–3.10.x for TLS/X.509 certificate validation, particularly those that perform OCSP-based revocation checking.
  2. Establish MitM position: Position between the target Botan-based client and the OCSP responder using DNS hijacking, BGP route injection, or a rogue network access point to intercept OCSP HTTP traffic.
  3. Intercept OCSP request: Capture the outbound OCSP request (plain HTTP) sent by the Botan client to the OCSP responder URL embedded in the target certificate.
  4. Forge OCSP response: Craft a forged OCSP response containing a "good" status for a certificate that is actually revoked, without a valid signature (since Botan does not verify the signature).
  5. Deliver forged response: Return the unsigned or improperly signed forged OCSP response to the Botan client in place of the legitimate responder's reply.
  6. Bypass revocation check: Botan accepts the forged response as valid (checking only the status code), causing the revoked certificate to pass X.509 path validation and enabling the attacker to impersonate the certificate holder in subsequent communications (GitHub Advisory).

Indicators of compromise

  • Network: Unexpected DNS resolutions or HTTP responses for OCSP responder URLs originating from non-authoritative IP addresses; OCSP HTTP responses lacking a valid Content-Type: application/ocsp-response header or with anomalous response sizes.
  • Network: OCSP traffic (typically TCP port 80) to OCSP responder hostnames being redirected to unfamiliar IP addresses, detectable via DNS query logs or network flow analysis.
  • Logs: Application or TLS library logs showing successful certificate validation for certificates that should be revoked; absence of OCSP signature verification error messages in Botan debug output for versions 3.0.0–3.10.x.
  • Network: BGP route anomalies or unexpected route changes affecting OCSP responder prefixes, observable via BGP monitoring tools.

Mitigation and workarounds

The primary remediation is to upgrade Botan to version 3.11.0 or later, which correctly verifies the cryptographic signature of OCSP responses during X.509 path validation. Organizations unable to upgrade immediately should consider implementing network controls to restrict and monitor OCSP HTTP traffic, and may evaluate certificate pinning or alternative revocation mechanisms (e.g., CRL-based validation) as interim mitigations. Applications using Botan 2.x are not affected by this vulnerability (GitHub Advisory).

Community reactions

The vulnerability was reported to the Botan project by researcher HarutoKimura and was published as a GitHub Security Advisory (GHSA-9j2j-hqmc-hf5x) by the maintainer (randombit) on March 29, 2026. Coverage has appeared on security aggregation sites and Linux community forums, including a mention in a Solus Linux weekly security digest and a German Linux security news outlet (pro-linux.de), indicating moderate community awareness. No major vendor statements or significant social media controversy have been identified beyond standard vulnerability disclosure channels (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Botan vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34580CRITICAL9.3
  • Botan logoBotan
  • botan3-doc
NoYesApr 07, 2026
CVE-2026-35582HIGH8.8
  • Java logoJava
  • gov.nsa.emissary:emissary
NoYesApr 18, 2026
CVE-2026-34582HIGH8.7
  • Botan logoBotan
  • Botan-doc
NoYesApr 07, 2026
CVE-2026-44378MEDIUM6.9
  • Botan logoBotan
  • botan3
NoYesMay 27, 2026
CVE-2026-32884MEDIUM5.9
  • Botan logoBotan
  • botan1.10
NoYesMar 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management