{"id":"CVE-2026-118765","title":"Botan: AutoSeeded_RNG can become reinitialized from predictable data after clearing state","summary":"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 …","severity":"high","cvss":7.3,"cvssVector":"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","cvssSource":"cna","cwe":["CWE-335"],"vendor":"randombit","product":"botan","affected":["botan >= 3.7.0, < 3.13.0"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-29T20:19:42.210615Z"},"published":"2026-10-29","updated":"2026-10-29","sourceUpdated":"2026-10-29T20:19:55.406Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-118765","references":[{"url":"https://github.com/randombit/botan/security/advisories/GHSA-95xx-xh9v-v9c4","label":"https://github.com/randombit/botan/security/advisories/GHSA-95xx-xh9v-v9c4"},{"url":"https://github.com/randombit/botan/pull/5838","label":"https://github.com/randombit/botan/pull/5838"},{"url":"https://github.com/randombit/botan/commit/a7389222ace990604b6985add91ee06f55a80c0e","label":"https://github.com/randombit/botan/commit/a7389222ace990604b6985add91ee06f55a80c0e"}],"tags":["cve.org"],"epss":0.00145,"epssPercentile":0.03779,"ingestedAt":"2026-11-02T21:30:04.847Z","slug":"CVE-2026-118765","body":"## Overview\n\nBotan 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.\n\n## Affected\n\n- `botan >= 3.7.0, < 3.13.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":40,"depthScoreParts":{"impact":40.2,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}