Security Resilience

CVE-2026-118765

randombit botan

Published
29 October 2026
Modified
30 October 2026
CVSS Score v4 7.3
Click a component to see what it means
Raw vectorCVSS: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
EPSS Score 0.0014 4th percentile
Risk Priority 29 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-118765 is a high-severity PRNG (CWE-335) vulnerability in randombit botan (named in the CVE record; NVD lists no product yet). Its CVSS base score is 7.3 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Credential Access (T1212); ranked at the 4th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SC-12 (Cryptographic Key Establishment and Management) and SC-13 (Cryptographic Protection) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1606 Forge Web Credentials Credential Access
Adversaries may forge credential materials that can be used to gain access to web applications or Internet services.
T1606.001 Web Cookies Credential Access
Adversaries may forge web cookies that can be used to gain access to web applications or Internet services.
T1078.004 Cloud Accounts Stealth
Valid accounts in cloud environments may allow adversaries to perform actions to achieve Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1110 Brute Force Credential Access
Adversaries may use brute force techniques to gain access to accounts when passwords are unknown or when password hashes are obtained.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-25835Shared CWE-335
CVE-2026-11625Shared CWE-335
CVE-2025-24783Shared CWE-335
CVE-2023-4472Shared CWE-335
CVE-2024-55566Shared CWE-335
CVE-2024-27632Shared CWE-335
CVE-2025-27580Shared CWE-335
CVE-2025-52578Shared CWE-335
CVE-2026-11702Shared CWE-335
CVE-2024-36048Shared CWE-335

Affected Assets

randombit
botan
named in the CVE record; NVD lists no product yet

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 2 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V7.2.3
  • V11.5.1

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

SC-12 requires proper establishment and management of cryptographic keys and material, which directly encompasses correct seeding of PRNGs used for cryptographic purposes.

SC-13 mandates selection and implementation of approved cryptographic methods, which structurally precludes use of incorrectly seeded PRNGs.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly enforce correct PRNG seeding during development, though the control addresses many other coding issues as well.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

prevents

A well-implemented A.8.24 cryptography policy sets approved algorithms, key generation and usage practices, so in-house code should use cryptographically secure seeds rather than predictable ones, leaving mainly third-party, COTS or legacy components with already-made seeding choices as the nameable remainder.

finds

Security testing can detect weak seeding but does not itself prevent the weakness.

prevents

Training developers about cryptographic best practices, including proper PRNG seeding (avoiding time-based or constant seeds, using cryptographically secure entropy sources), prevents some instances of CWE-335, but PRNG seeding is a specialized topic that not all training programs cover in depth, and developers remain fallible on the technical details.

prevents

Secure-coding standards mandate correct PRNG seeding to avoid predictable random values.

finds

A.8.8's reach is DISCLOSURE — it finds vulnerabilities through published advisories, vendor notifications, and scanning against known vulnerability databases. CWE-335 does surface as CVEs (four observed examples), so A.8.8 finds that minority share. The majority of PRNG seed misuse lives in first-party/custom code that never receives a published advisory, and A.8.8's disclosure-based reach does not see it; penetration testing may catch some externally observable instances (predictable session IDs, tokens) but not the bulk.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.

Oracle Linux 8 (1 partial rule)
  • V-248563 The OL 8 SSH server must be configured to use strong entropy. blocks CWE-335
RHEL 8 (1 partial rule)
  • V-230253 RHEL 8 must ensure the SSH server uses strong entropy. blocks CWE-335

References