---
id: CVE-2026-118768
title: 'Botan: CLI utility `ocsp_check` accepts unauthenticated responses'
summary: >-
  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 sig…
severity: medium
cvss: 5.9
cvssVector: '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'
cvssSource: cna
cwe:
  - CWE-347
vendor: randombit
product: botan
affected:
  - 'botan >= 1.11.34, < 3.13.0'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-03T16:06:39.020869Z'
published: '2026-10-29'
updated: '2026-11-03'
sourceUpdated: '2026-11-03T16:06:50.034Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-118768'
references:
  - url: 'https://github.com/randombit/botan/security/advisories/GHSA-mpr7-9494-4qcw'
    label: 'https://github.com/randombit/botan/security/advisories/GHSA-mpr7-9494-4qcw'
  - url: 'https://github.com/randombit/botan/pull/5825'
    label: 'https://github.com/randombit/botan/pull/5825'
  - url: >-
      https://github.com/randombit/botan/commit/46b2a9ca59b0797184fbf7537495bda6e61a1983
    label: >-
      https://github.com/randombit/botan/commit/46b2a9ca59b0797184fbf7537495bda6e61a1983
tags:
  - cve.org
epss: 0.0007
epssPercentile: 0.00035
ingestedAt: '2026-11-01T22:02:40.986Z'
---

## Overview

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

- `botan >= 1.11.34, < 3.13.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
