{"id":"DHI-a3tp-nzce-yl3x-f3vu","summary":"Botan is a C++ cryptography library. From 2.1.0 until 3.13.0, the Botan C API function botan_block_cipher_block_size…","details":"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.","modified":"2026-12-02T07:00:02.813934265Z","published":"2026-12-01T19:32:59Z","upstream":["CVE-2026-118769"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-a3tp-nzce-yl3x-f3vu"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118769"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-118769"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-118769"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-118769"},{"type":"ADVISORY","url":"https://github.com/randombit/botan/security/advisories/GHSA-c68p-822g-jfvr"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-118769"},{"type":"FIX","url":"https://github.com/randombit/botan/pull/5805"},{"type":"FIX","url":"https://github.com/randombit/botan/commit/c6089ab7fab616517d56c447c93e13a5c57a0af3"}],"affected":[{"package":{"name":"botan3","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/botan3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11.1-r0"}]}],"versions":["3.11.1-r0","3.12.0-r0","3.14.1-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-a3tp-nzce-yl3x-f3vu.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}