Vulnerability · Published Oct 29, 2026 · Assigned by GitHub_M
CVE-2026-118768Botan: CLI utility `ocsp_check` accepts unauthenticated responses
Medium 5.9
In plain English
A medium-severity security flaw in botan from randombit. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 0% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | botan | no fix listed | DEBIAN-CVE-2026-118768 |
| Debian:13 | botan | no fix listed | DEBIAN-CVE-2026-118768 |
| Debian:13 | botan3 | no fix listed | DEBIAN-CVE-2026-118768 |
| Debian:14 | botan3 | 3.13.0+dfsg-2 | DEBIAN-CVE-2026-118768 |
Affected products (as reported)
Weakness: CWE-347 · Vector: CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/randombit/botan/security/advisories/GHSA-mpr7-9494-4qcw x_refsource_CONFIRM
- https://github.com/randombit/botan/pull/5825 x_refsource_MISC
- https://github.com/randombit/botan/commit/46b2a9ca59b0797184fbf7537495bda6e61a1983 x_refsource_MISC