CVEsrandombitCVE-2026-118768Published Oct 29, 17:20 · Updated Oct 29, 17:20 UTC
5.9
MediumCVSS 4.0 · from GitHub_M
CVE-2026-118768

Botan: CLI utility `ocsp_check` accepts unauthenticated responses

botan · CWE-347 · CWE-347
Affectedbotan
FixNo fix listed yet.
PublishedOct 29, 17:20 · GitHub_M
ScoredOct 29 · 5.9 · GitHub_M
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:09 UTC

What we know

No known exploitation. CISA KEV, checked 22:09 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker has to be on the same network. CVSS: adjacent network.
It only works under certain conditions, which makes it harder to pull off. CVSS: high attack complexity.
Someone has to open, click or run something first. CVSS: user interaction required.
A successful attack can change data. CVSS impact.

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.

From GitHub_M

Affected and fixed versions

ProductAffectedFixed inbotan>= 1.11.34, < 3.13.0–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/randombit/botan/security/advisories/GHSA-mpr7-9494-4qcw · github.comrefsource_CONFIRMgithub.com/randombit/botan/pull/5825 · github.comrefsource_MISCgithub.com/randombit/botan/commit/46b2a9ca59b0797184fbf7537495bda6e61a1983 · github.comrefsource_MISC

Other CVEs in botan

All 14 →
9.2Botan: Integer overflow when reporting block size in FFI can cause memory corruption · CVE-2026-118769Oct 294.8Botan: Python binding bcrypt APIs truncate passwords containing embedded NULs · CVE-2026-118767Oct 296.1Botan: Online OCSP redirects enable blind requests to internal HTTP services · CVE-2026-118766Oct 29