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

Medium 5.9 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-118768?

CVE-2026-118768 is a medium-severity vulnerability in randombit botan, published on 29 Oct 2026.

Official 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.

Weakness: CWE-347

Which versions are affected by CVE-2026-118768?

How do I fix CVE-2026-118768?

No fix has been published for CVE-2026-118768 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-118768 being exploited?

There is no known exploitation of CVE-2026-118768 in the wild and no public exploit code.

Sources

Also known as GHSA-mpr7-9494-4qcw.

Is CVE-2026-118768 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free