{"id":"CVE-2026-118765","published":"2026-10-29T17:12:07Z","modified":"2026-10-29T20:19:55Z","title":"Botan: AutoSeeded_RNG can become reinitialized from predictable data after clearing state","vendor":"randombit","product":"botan","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00145,"percentile":0.03824,"provenance":"source"},"cwes":[{"id":"CWE-335","name":"Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)"}],"references":[{"url":"https://github.com/randombit/botan/security/advisories/GHSA-95xx-xh9v-v9c4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/randombit/botan/pull/5838","tags":["x_refsource_MISC"]},{"url":"https://github.com/randombit/botan/commit/a7389222ace990604b6985add91ee06f55a80c0e","tags":["x_refsource_MISC"]}],"priority":{"score":5.9,"factors":[{"name":"EPSS percentile","points":0.76},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"randombit","affectedVersions":[{"vendor":"randombit","product":"botan","versions":[">= 3.7.0, < 3.13.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-29T20:19:42.210615Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-113274","exploited":false,"provenance":"source"}}