CVEfocus › CVE database › CVE-2026-118765

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

CVSS 7.3 HighEPSS 0.2% (higher than 3% of CVEs)Published 2026-10-29Updated 2026-10-29Assigner: GitHub_M

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.

CWE-335

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
7Fix pending
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04botanFix pendingUBUNTU-CVE-2026-118765
Ubuntu 22.04botanFix pendingUBUNTU-CVE-2026-118765
Ubuntu 20.04botanFix pendingUBUNTU-CVE-2026-118765
Ubuntu 18.04botanFix pendingUBUNTU-CVE-2026-118765
Debian 14botan3Fixed3.13.0+dfsg-2DEBIAN-CVE-2026-118765
Debian 13botanFix pendingDEBIAN-CVE-2026-118765
Debian 13botan3Fix pendingDEBIAN-CVE-2026-118765
Debian 12botanFix pendingDEBIAN-CVE-2026-118765
Red Hat Enterprise Linux 10podman-sequoiaNot affected
Red Hat Enterprise Linux 10rust-sequoia-sqNot affected
Red Hat Enterprise Linux 10rust-sequoia-sqvNot affected
Red Hat Enterprise Linux 10sequoia-sqNot affected
Red Hat Enterprise Linux 10sequoia-sqvNot affected
Red Hat Enterprise Linux 9rust-sequoia-sqNot affected
Red Hat Enterprise Linux 9sequoia-sqNot affected

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.