{"id":"CVE-2026-118765","aliases":["DEBIAN-CVE-2026-118765","EUVD-2026-113274","GHSA-95xx-xh9v-v9c4","UBUNTU-CVE-2026-118765"],"status":"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.","severity":{"version":"4.0","score":7.3,"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00145,"percentile":0.03815,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-335"],"published":"2026-10-29T17:12:07Z","modified":"2026-11-05T04:42:51Z","fixes":[{"ecosystem":"Debian:14","package":"botan3","fixed_in":["3.13.0+dfsg-2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.19.3+dfsg-1","2.19.3+dfsg-1+deb12u1","2.19.4+dfsg-1","2.19.5+dfsg-1","2.19.5+dfsg-2","2.19.5+dfsg-3","2.19.5+dfsg-4"]},{"source":"osv","ecosystem":"Debian:13","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.19.5+dfsg-4"]},{"source":"osv","ecosystem":"Debian:13","package":"botan3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.0+dfsg-1","3.10.0+dfsg-2","3.11.0+dfsg-1","3.11.1+dfsg-1","3.11.1+dfsg-2","3.12.0+dfsg-1","3.12.0+dfsg-2","3.12.0+dfsg-2~deb13u1","3.13.0+dfsg-1","3.13.0+dfsg-2","3.7.1+dfsg-2","3.8.1+dfsg-1","3.9.0+dfsg-1","3.9.0+dfsg-2","3.9.0+dfsg-2.1"]},{"source":"osv","ecosystem":"Debian:14","package":"botan3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.13.0+dfsg-2"}]}],"versions":["3.10.0+dfsg-1","3.10.0+dfsg-2","3.11.0+dfsg-1","3.11.1+dfsg-1","3.11.1+dfsg-2","3.12.0+dfsg-1","3.12.0+dfsg-2","3.12.0+dfsg-2~deb13u1","3.13.0+dfsg-1","3.7.1+dfsg-2","3.8.1+dfsg-1","3.9.0+dfsg-1","3.9.0+dfsg-2","3.9.0+dfsg-2.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.0-3","2.4.0-4","2.4.0-5ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.0-2","2.9.0-2build1","2.12.1-2","2.12.1-2build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.17.3+dfsg-3","2.19.1+dfsg-2ubuntu1","2.19.1+dfsg-2ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"botan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.19.3+dfsg-1ubuntu1","2.19.3+dfsg-1ubuntu2","2.19.3+dfsg-1ubuntu2+esm1"]}],"products":[{"vendor":"randombit","product":"botan"}],"references":[{"url":"https://github.com/randombit/botan/security/advisories/GHSA-95xx-xh9v-v9c4","tags":["x_refsource_CONFIRM","advisory","report"]},{"url":"https://github.com/randombit/botan/pull/5838","tags":["x_refsource_MISC","fix","report"]},{"url":"https://github.com/randombit/botan/commit/a7389222ace990604b6985add91ee06f55a80c0e","tags":["x_refsource_MISC","fix","report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118765.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118765","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-118765","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-118765","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-118765","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-118765","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.","status":"published","published":"2026-10-29T17:12:07.807Z","modified":"2026-10-29T20:19:55.406Z","cvss":[{"version":"4.0","score":7.3,"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","level":"high","assessor":"cna"}],"cwes":["CWE-335"],"updated_at":"2026-11-02T14:20:03.827373Z"}],"euvd":[{"id":"EUVD-2026-113274","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.","status":"published","published":"2026-10-29T17:12:07Z","modified":"2026-10-29T20:19:55Z","cvss":[{"version":"4.0","score":7.3,"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","level":"high"}],"updated_at":"2026-11-02T16:59:14.591479Z"}],"nvd":[{"id":"CVE-2026-118765","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.","status":"published","published":"2026-10-29T17:18:07.523Z","modified":"2026-10-30T19:37:07.073Z","cvss":[{"version":"4.0","score":7.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"}],"cwes":["CWE-335"],"updated_at":"2026-11-02T14:13:04.940026Z"}],"osv":[{"id":"CVE-2026-118765","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.","status":"published","published":"2026-10-29T17:12:07.807Z","modified":"2026-11-01T07:03:37.902088927Z","cvss":[{"version":"4.0","score":7.3,"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","level":"high"}],"cwes":["CWE-335"],"updated_at":"2026-11-02T15:44:57.008854Z"},{"id":"DEBIAN-CVE-2026-118765","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.","status":"published","published":"2026-10-29T17:18:07.523Z","modified":"2026-10-31T21:00:07.288974723Z","cvss":[{"version":"4.0","score":7.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"}],"updated_at":"2026-11-02T15:45:51.374409Z"},{"id":"UBUNTU-CVE-2026-118765","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.","status":"published","published":"2026-10-29T17:18:00Z","modified":"2026-11-05T04:42:51Z","cvss":[{"version":"4.0","score":7.3,"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","level":"high"}],"updated_at":"2026-11-05T13:33:25.727744Z"}]}}
