Vulnerability · Published Oct 29, 2026 · Assigned by GitHub_M

CVE-2026-118765Botan: AutoSeeded_RNG can become reinitialized from predictable data after clearing state

High 7.3

In plain English

A high-severity security flaw in botan from randombit. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)7.3High
Exploit odds (30 days)0.1%top 96.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12botanno fix listedDEBIAN-CVE-2026-118765
Debian:13botanno fix listedDEBIAN-CVE-2026-118765
Debian:13botan3no fix listedDEBIAN-CVE-2026-118765
Debian:14botan33.13.0+dfsg-2DEBIAN-CVE-2026-118765

Affected products (as reported)

VendorProductVersions
randombit botan >= 3.7.0, < 3.13.0

Weakness: CWE-335 · 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

References