CVE-2026-118765
published high CVSS 4.0 · 7.3Botan: AutoSeeded_RNG can become reinitialized from predictable data after clearing state
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| randombit | — | botan>= 3.7.0, < 3.13.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | botan3 | Fixed | 3.14.1-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| randombit | botan | >= 3.7.0, < 3.13.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-335 CWE-335: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)
References
3Provider assertions
2GitHub_M · cna
Botan: AutoSeeded_RNG can become reinitialized from predictable data after clearing state
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 68799e55c2fe79f476711282e05a3c42aca8ae70fa657458f689503dbd0ba6af
- Ingested
- 29 Oct 2026, 20:26:57 UTC
- Source record
- Official CVE record