Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
Botan library can cause memory corruption with certain cipher
published 1 day ago
Summary
Versions 2.1.0 through 3.12.x of the Botan cryptography library may miscalculate the size of a block when using the Lion cipher in a specific low‑level function. This can lead to insufficient memory being allocated and result in memory corruption. Upgrade to Botan version 3.13.0 or later to resolve the issue.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Docker Hardened Images:Alpine:3.24 | docker hardened images | botan3 | >= 3.11.1-r0 |
Original advisory text
Botan is a C++ cryptography library. From 2.1.0 until 3.13.0, the Botan C API function botan_block_cipher_block_size…
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
- https://scout.docker.com/v/DHI-a3tp-nzce-yl3x-f3vu Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-118769 Vendor Advisory
- https://security.alpinelinux.org/vuln/CVE-2026-118769 Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-118769 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-118769 Vendor Advisory
- https://github.com/randombit/botan/security/advisories/GHSA-c68p-822g-jfvr Vendor Advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-118769 Vendor Advisory
- https://github.com/randombit/botan/pull/5805 Patch
- https://github.com/randombit/botan/commit/c6089ab7fab616517d56c447c93e13a5c57a0a... Patch
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker full control (estimated)
Timeline
Published1 Dec 2026
Updated1 Dec 2026
First seen1 Dec 2026
Sources
DHI-a3tp-nzce-yl3x-f3vu · OSV
Track software like this
Free during beta