Skip to main content
← All vulnerabilities
CVE-2026-118768EUVD-2026-113277

Botan: CLI utility `ocsp_check` accepts unauthenticated responses

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.13.0
None on Exploit-DB, Metasploit or GitHub

Summary

The Botan C++ cryptography library's `ocsp_check` command-line tool is affected. An attacker who controls or intercepts the OCSP responder can make a revoked certificate appear valid, so the tool reports success when the certificate should be rejected.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • randombit botan

    From 1.11.34 · fixed in 3.13.0

References 3

GitHub · randombit/botan