{"id":"CVE-2026-118765","state":"PUBLISHED","title":"Botan: AutoSeeded_RNG can become reinitialized from predictable data after clearing state","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.","publishedAt":"2026-10-29T17:12:07.807Z","updatedAt":"2026-10-29T20:19:55.406Z","severity":{"score":7.3,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["randombit botan"],"affected":[{"vendor":"randombit","product":"botan","versions":[{"version":">= 3.7.0, < 3.13.0","status":"affected"}]}],"references":["https://github.com/randombit/botan/security/advisories/GHSA-95xx-xh9v-v9c4","https://github.com/randombit/botan/pull/5838","https://github.com/randombit/botan/commit/a7389222ace990604b6985add91ee06f55a80c0e"],"weaknesses":["CWE-335"],"ingestedAt":"2026-10-29T23:08:31.977Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/118xxx/CVE-2026-118765.json","commit":"dc7676b3f67d6707e4927968546e7e0125ff7ec7","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118765","state":"PUBLISHED","datePublished":"2026-10-29T17:12:07.807Z","dateUpdated":"2026-10-29T20:19:55.406Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-28T19:20:05.017Z"},"containers":{"cna":{"title":"Botan: AutoSeeded_RNG can become reinitialized from predictable data after clearing state","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"randombit","product":"botan","versions":[{"version":">= 3.7.0, < 3.13.0","status":"affected"}]}],"references":[{"url":"https://github.com/randombit/botan/security/advisories/GHSA-95xx-xh9v-v9c4","name":"https://github.com/randombit/botan/security/advisories/GHSA-95xx-xh9v-v9c4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/randombit/botan/pull/5838","name":"https://github.com/randombit/botan/pull/5838","tags":["x_refsource_MISC"]},{"url":"https://github.com/randombit/botan/commit/a7389222ace990604b6985add91ee06f55a80c0e","name":"https://github.com/randombit/botan/commit/a7389222ace990604b6985add91ee06f55a80c0e","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.3,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-335","lang":"en","description":"CWE-335: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-29T17:12:07.807Z"},"source":{"advisory":"GHSA-95xx-xh9v-v9c4","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-29T20:19:42.210615Z","id":"CVE-2026-118765","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-29T20:19:55.406Z"}}]}}}