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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-118765— Botan: AutoSeeded_RNG can become reinitialized from predictable data after clearing state

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++ 密码学库。在版本 3.7.0 至 3.13.0 期间,若应用程序在生成器未播种(unseeded)的状态下先调用 ,随后再调用 且传入一个空的输出缓冲区,则可能导致 在未咨询配置的熵源的情况下,错误地将自身标记为已播种。在编译时未启用 的情况下,其回退机制仅依赖时钟值和进程 ID,因此后续的非空请求可能基于可预测的状态生成输出。该问题已在版本 3.13.0 中修复。

CVSS 7.3 · High

Affected Version Matrix 1

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

I. Basic Information for CVE-2026-118765

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: AutoSeeded_RNG can become reinitialized from predictable data after clearing state
Source: CVE Program / CVE List V5
Vulnerability Description
Botan is a C++ cryptography library. From 3.7.0 until 3.13.0, an application that calls AutoSeeded_RNG::clear() and then calls randomize with an empty output buffer while the generator is unseeded can cause AutoSeeded_RNG to mark itself seeded without consulting the configured entropy source. On builds without BOTAN_HAS_SYSTEM_RNG, the fallback uses only a clock value and process ID, so a later non-empty request can produce output from predictable state. This issue is fixed in version 3.13.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
PRNG种子错误
Source: CVE Program / CVE List V5

Affected Products

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

II. Public POCs for CVE-2026-118765

# 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-118765

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

Other References for CVE-2026-118765 (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-118766 6.1 MEDIUM Botan: Online OCSP redirects enable blind requests to internal HTTP services
CVE-2026-118768 5.9 MEDIUM Botan: CLI utility `ocsp_check` accepts unauthenticated responses
CVE-2026-118767 4.8 MEDIUM Botan: Python binding bcrypt APIs truncate passwords containing embedded NULs

IV. Related Vulnerabilities