Medium severity · published Oct 29, 2026
CVE-2026-118768
Botan: CLI utility `ocsp_check` accepts unauthenticated responses
New
5.9
CVSS
–
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BO
botan · randombit
>= 1.11.34, < 3.13.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-118768
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-118768
x_refsource_CONFIRM
https://github.com/randombit/botan/security/advisories/GHSA-mpr7-9494-4qcw
x_refsource_MISC
https://github.com/randombit/botan/pull/5825
x_refsource_MISC
https://github.com/randombit/botan/commit/46b2a9ca59b0797184fbf7537495bda6e61a1983
More from botan
9.2
CVE-2026-118769
Botan: Integer overflow when reporting block size in FFI can cause memory corruption
9.1
CVE-2026-34582
Botan has a TLS 1.3 certificate authentication bypass
8.2
CVE-2026-32877
Botan: Heap Buffer Over-read in SM2 Decryption via Undersized C3 Hash Field
7.5
CVE-2026-44378
Botan: Quadratic complexity decoding BER indefinite length encodings
7.5
CVE-2026-34580
Botan has a certificate authentication bypass due to trust anchor confusion
