# CVE-2026-118768: Botan: CLI utility \`ocsp\_check\` accepts unauthenticated responses

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.9
- **CVSS:** 5.9 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: Passive; Confidentiality impact: None; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.10% (percentile 0, 2026-11-28)
- **CWE:** CWE-347
- **Published:** 2026-10-29T17:20:05.577Z
- **Modified:** 2026-11-03T17:17:59.663Z

## Who should check

- Anyone running randombit botan \>= 1.11.34, \< 3.13.0

## 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 and fixed versions

- randombit botan: \>= 1.11.34, \< 3.13.0 (cvelist)

## Mitigation

- Upgrade botan to 3.13.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-118768. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-118768.md
Affected: randombit botan >= 1.11.34, < 3.13.0
Fixed in: randombit botan 3.13.0

Steps:
1. Search this machine and project for randombit botan: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-118768 being exploited?

There is no confirmed exploitation: CVE-2026-118768 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.10% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-118768?

Medium: CVSS 5.9 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-118768?

randombit botan \>= 1.11.34, \< 3.13.0.

### Is there a fix for CVE-2026-118768?

Yes. Fixed in randombit botan 3.13.0. Upgrade botan to 3.13.0 or later.

### How do I check if I'm affected by CVE-2026-118768?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/randombit/botan/security/advisories/GHSA-mpr7-9494-4qcw>
- patch: <https://github.com/randombit/botan/pull/5825>
- patch: <https://github.com/randombit/botan/commit/46b2a9ca59b0797184fbf7537495bda6e61a1983>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-118768>

HTML: <https://flawdb.com/CVE-2026-118768> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-118768>
