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.
Severity (CVSS)
| Base score | 7.3 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-335 — CWE-335: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| randombit | botan | >= 3.7.0, < 3.13.0 [affected] |
References
- https://github.com/randombit/botan/security/advisories/GHSA-95xx-xh9v-v9c4 (x_refsource_CONFIRM)
- https://github.com/randombit/botan/pull/5838 (x_refsource_MISC)
- https://github.com/randombit/botan/commit/a7389222ace990604b6985add91ee06f55a80c0e (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 30 Oct 2026 07:06 UTC.