{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-118769","published":"2026-10-29T18:17:29.180000Z","last_modified":"2026-10-30T19:37:07.073000Z","status":"Awaiting Analysis","cvss":{"version":"4.0","score":9.2,"severity":"CRITICAL","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","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-125","CWE-681","CWE-787"],"cpes":[],"cpes_truncated":false,"vendors":["randombit"],"products":["randombit/botan"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2026-118769/","html_en":"/en/cve/CVE-2026-118769/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-118769","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-118769"},"untrusted":{"vendor_name":"randombit","product_name":"botan","desc_en":"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.","affected":[{"untrusted_vendor":"randombit","untrusted_product":"botan","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"ed520d8fd4065e86daa2c8efcd5af26c","generated":"2026-11-26T22:36:56.326655Z","es":{"untrusted_title":"Desbordamiento de búfer en función FFI de Botan por conversión sin validación","untrusted_summary":"La función botan_block_cipher_block_size en la API C de Botan convierte size_t a int sin validar límites en versiones 2.1.0 a 3.12.x. Un atacante puede seleccionar el cifrado Lion con tamaño de bloque variable a través de parámetros externos, truncando el tamaño reportado y causando asignación insuficiente de memoria. Esto resulta en corrupción de memoria durante el procesamiento de bloques en modo ECB sin autenticación."},"en":{"untrusted_title":"Buffer overflow in Botan FFI function due to unchecked type conversion","untrusted_summary":"The botan_block_cipher_block_size function in Botan's C API converts size_t to int without bounds checking in versions 2.1.0 through 3.12.x. An attacker can select the variable-block-size Lion cipher through external algorithm parameters, truncating the reported size and causing insufficient memory allocation. This results in memory corruption during block processing in raw ECB mode without authentication required."},"remediation":{"status":"fix","fixed_versions":["3.13.0"],"untrusted_action_es":"Actualiza Botan a versión 3.13.0 o posterior para corregir la validación de conversión de tipos en la función FFI.","untrusted_action_en":"Update Botan to version 3.13.0 or later to fix the type conversion validation in the FFI function.","vendor_url":"https://github.com/randombit/botan/security/advisories/GHSA-c68p-822g-jfvr"},"reviewed":false},"references":[{"url":"https://github.com/randombit/botan/commit/c6089ab7fab616517d56c447c93e13a5c57a0af3","tags":[]},{"url":"https://github.com/randombit/botan/pull/5805","tags":[]},{"url":"https://github.com/randombit/botan/security/advisories/GHSA-c68p-822g-jfvr","tags":[]}]}}