Skip to content
OpenAdvisories
High · 7.3 CVE-2026-118765 EUVD-2026-113274

Botan: AutoSeeded_RNG can become reinitialized from predictable data after clearing state

Published Oct 29, 2026 · Updated Oct 29, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
randombit botan >= 3.7.0, < 3.13.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 botan3 3.13.0+dfsg-2 —
Debian 13 botan +1 No fix yet —
Debian 12 botan No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS botan No fix yet —
Ubuntu 18.04 LTS botan No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS botan No fix yet —
Ubuntu Pro 22.04 LTS botan No fix yet —

References