CVE-2026-118765: randombit botan · PRNG
Affects randombit botanSource CVE Database V5
Not known to be exploited · CVSS 7.3 High : upgrade to 3.13.0 soon.
Data as of 29 Oct 2026, 18:49 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 7.3 |
|---|
- Patch
- Available – fixed in 3.13.0
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade botan and randombit/botan to 3.13.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| randombitbotan | Affected
| Fixed in
|
GitHubrandombit/botanpkg:github/randombit/botanOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should upgrade to Botan version 3.13.0 or later, where this issue is fixed. No other mitigations are indicated or required as the fix is official and available. Applications relying on affected versions should prioritize updating to ensure proper entropy sourcing and secure random number generation.
Description
CVE-2026-118765 is a vulnerability in the Botan C++ cryptography library affecting versions from 3.7.0 up to but not including 3.13.0. The flaw involves incorrect usage of seeds in the AutoSeeded_RNG pseudo-random number generator. Specifically, calling AutoSeeded_RNG::clear() followed by randomize with an empty output buffer while the generator is unseeded can cause it to mark itself as seeded without properly consulting the entropy source. On builds lacking BOTAN_HAS_SYSTEM_RNG, the fallback entropy source relies only on predictable values like the clock and process ID, potentially leading to predictable random output. This issue is fixed in version 3.13.0.