CVE-2026-118769: Vulnerability in Randombit Botan
Critical. Botan is a C++ cryptography library. From 2.1.0 until 3.13.0, the Botan C API function botan_block_cipher_block_size converted a size_t block size to int without a bounds check. In an application that accepts external algorithm parameter strings and uses the FFI raw ECB mode, an attacker can select the variable-block-size Lion cipher so that the reported size is truncated, the caller allocates insufficient...
CWE-125, CWE-681
- Exploitation
- None confirmed
- Severity
- 9.2 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/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
- Weakness
- CWE-125, CWE-681, CWE-787
- Published
- 29 Oct 2026
- Last change
- 30 Oct 2026
Affected products
Affected versions and the first fixed release
- Randombit Botan From 2.1.0, before 3.13.0. Fixed in 3.13.0
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
- github.com/randombit/botan/commit/c6089ab7fab616517d56c447c93e13a5c57a0af3
- github.com/randombit/botan/pull/5805
Related
- Botan vulnerabilities Recent advisories, watch this product