CVE-2026-118769: From 2.1.0 until 3.13.0, the Botan C API function botan_block_cipher_block_size converted a size_t
Affects botanSource GCVE Database
Not known to be exploited · CVSS 9.2 Critical · fixed in 3.13.0 : patch botan as a priority.
Data as of 5 Nov 2026, 12:35 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 9.2 |
|---|
- Patch
- Available – fixed in 3.13.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 24.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSbotanpkg:deb/ubuntu/botan?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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 memory, and later block processing causes memory corruption. The C++ API and normally used C API modes such as CBC and CTR are unaffected. This issue is fixed in version 3.13.0.
References
- ubuntu.com/security/CVE-2026-118769 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-118769 (opens in a new tab)
- github.com/randombit/botan/commit/c6089ab7fab616517d56c447c93e13a5c57a0af3 (opens in a new tab)
- github.com/randombit/botan/pull/5805 (opens in a new tab)
- github.com/randombit/botan/security/advisories/GHSA-c68p-822g-jfvr (opens in a new tab)