CVEsrandombitCVE-2026-118765Published Oct 29, 17:12 · Updated Oct 29, 20:19 UTC
7.3
HighCVSS 4.0 · from GitHub_M
CVE-2026-118765

Botan: AutoSeeded_RNG can become reinitialized from predictable data after clearing state

botan · CWE-335 · CWE-335
Affectedbotan
FixNo fix listed yet.
PublishedOct 29, 17:12 · GitHub_M
ScoredOct 29 · 7.3 · GitHub_M
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:08 UTC

What we know

No known exploitation. CISA KEV, checked 22:08 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker needs local access to the machine. CVSS: local.
It only works under certain conditions, which makes it harder to pull off. CVSS: high attack complexity.
A successful attack can read and change data and take the service down. CVSS: high impact on confidentiality, integrity and availability.
A successful attack gives full control of the affected system. CISA: technical impact total.

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.

From GitHub_M

Affected and fixed versions

ProductAffectedFixed inbotan>= 3.7.0, < 3.13.0–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/randombit/botan/security/advisories/GHSA-95xx-xh9v-v9c4 · github.comrefsource_CONFIRMgithub.com/randombit/botan/pull/5838 · github.comrefsource_MISCgithub.com/randombit/botan/commit/a7389222ace990604b6985add91ee06f55a80c0e · github.comrefsource_MISC

Other CVEs in botan

All 14 →
9.2Botan: Integer overflow when reporting block size in FFI can cause memory corruption · CVE-2026-118769Oct 295.9Botan: CLI utility `ocsp_check` accepts unauthenticated responses · CVE-2026-118768Oct 294.8Botan: Python binding bcrypt APIs truncate passwords containing embedded NULs · CVE-2026-118767Oct 29