CVE-2026-118768: Botan: CLI utility `ocsp_check` accepts unauthenticated responses

Published Oct 29, 2026
·
Updated

Botan is a C++ cryptography library. From 1.11.34 until 3.13.0, the botan ocspcheck 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.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Botan to a version that resolves this vulnerability.

    Fixed in 3.13.0

Event History

Oct 29, 2026
CVE Published
via MITRE·05:20 PM
Data Sourced
via MITRE·05:20 PM
DescriptionWeakness
Data Sourced
via OSV·05:20 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Only users or automation that invoke Botan's ocsp_check command-line utility are affected. The vulnerability does not affect other Botan library interfaces according to the available information.

2

What does an attacker need to exploit it?

An attacker must be able to act as the OCSP responder or interfere with the connection to the certificate's Authority Information Access URL. They must return a matching, timely OCSP response indicating GOOD; the response signature may be empty, invalid, or from an unauthorized signer.

3

How can this affect certificate-revocation checks?

A revoked certificate can be reported as valid: ocsp_check may return exit status 0 and print OCSP check OK after accepting the forged GOOD response. This can cause scripts or operational checks that rely on that command's result to incorrectly accept a revoked certificate.

4

What versions should be remediated?

The issue affects versions from 1.11.34 until 3.13.0 and is fixed in Botan 3.13.0. Upgrade to version 3.13.0 to obtain the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203