cve.bz

CVE-2026-118765 randombit botan

7.3 highEPSS 0.2%

High (7.3) in randombit botan. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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

CVSS 4.0

7.3 high
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
EPSS
0.2% (unchanged from 0.1% a week ago) estimated probability of exploitation activity in the next 30 days; 3rd percentile. Scored 2026-11-25. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-335 Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-118765 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-118765?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-118765?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-118765 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
randombit botan>= 3.7.0, < 3.13.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12botanno fix listedDEBIAN-CVE-2026-118765
Debian13botan, botan3no fix listedDEBIAN-CVE-2026-118765
Debian14botan33.13.0+dfsg-2DEBIAN-CVE-2026-118765
Ubuntu18.04:LTS, 20.04:LTS, Pro:22.04:LTS and 1 morebotanno fix listedUBUNTU-CVE-2026-118765

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate impact because exploitation requires an atypical sequence of application calls alongside local access to observe or predict cryptographic states. In standard Red Hat Enterprise Linux environments, platform entropy facilities are active, preventing reliance on predictable fallback timers and process identifiers. Furthermore, Botan is not included as part of core Red Hat Enterprise Linux releases, significantly limiting exposure across enterprise deployments.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/hub-rhel9Not affected
Red Hat Enterprise Linux 10rust-podman-sequoiaNot affected
Red Hat Enterprise Linux 10rust-sequoia-sqNot affected
Red Hat Enterprise Linux 10rust-sequoia-sqvNot affected
Red Hat Enterprise Linux 9rust-sequoia-sqNot affected
Red Hat Hardened Imagesrust-podman-sequoiaNot affected
Red Hat Hardened Imagesrust-rpm-sequoiaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-118765.

References

Check your stackJSON