Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-118768— Botan: CLI utility `ocsp_check` accepts unauthenticated responses

Quick assessment

Affected
randombit botan
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Botan 是一个 C++ 密码学库。在从 1.11.34 到 3.13.0 的版本中, 命令会从证书的“授权信息访问”(Authority Information Access, AIA)URL 请求 OCSP 响应,但未验证响应签名,也未对签名者进行授权。恶意响应服务器或路径攻击者可返回一个匹配且及时的"GOOD"状态响应,但附带空、无效或未授权的签名,从而导致已被吊销的证书输出退出状态码 0 并显示"OCSP 检查通过”。该问题仅影响命令行界面。此漏洞已在 3.13.0 版本中修复。

CVSS 5.9 · Medium

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProduct Version RangeStatus
randombit botan >= 1.11.34, < 3.13.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-118768

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Botan: CLI utility `ocsp_check` accepts unauthenticated responses
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
密码学签名的验证不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
randombit botan >= 1.11.34, < 3.13.0 -

II. Public POCs for CVE-2026-118768

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-118768

请登录查看更多情报信息。

Other References for CVE-2026-118768 (3)

Same Patch Batch · randombit · 2026-10-29 · 5 CVEs total

CVE-2026-118769 9.2 CRITICAL Botan: Integer overflow when reporting block size in FFI can cause memory corruption
CVE-2026-118765 7.3 HIGH Botan: AutoSeeded_RNG can become reinitialized from predictable data after clearing state
CVE-2026-118766 6.1 MEDIUM Botan: Online OCSP redirects enable blind requests to internal HTTP services
CVE-2026-118767 4.8 MEDIUM Botan: Python binding bcrypt APIs truncate passwords containing embedded NULs

IV. Related Vulnerabilities