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.

Severity (CVSS 4.0)5.9Medium
Exploit odds (30 days)<0.1%top 100.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12botanno fix listedDEBIAN-CVE-2026-118768
Debian:13botanno fix listedDEBIAN-CVE-2026-118768
Debian:13botan3no fix listedDEBIAN-CVE-2026-118768
Debian:14botan33.13.0+dfsg-2DEBIAN-CVE-2026-118768

Affected products (as reported)

VendorProductVersions
randombit botan >= 1.11.34, < 3.13.0

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