Botan 是一个 C++ 密码学库。在 2.1.0 至 3.13.0 版本中,Botan 的 C API 函数 在将 类型的块大小转换为 时未进行边界检查。如果应用程序接受外部算法参数字符串并使用 FFI 原始 ECB 模式,攻击者可以选择可变块大小的 Lion 密码算法,导致报告的块大小被截断;调用方因此分配了不足的内存,随后在处理数据块时引发内存破坏。该问题不影响 C++ API,也不影响通常使用的 C API 模式(如 CBC 和 CTR)。此问题已在 3.13.0 版本中修复。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC| CVE-2026-118765 | 7.3 HIGH | Botan: AutoSeeded_RNG can become reinitialized from predictable data after clearing state |
| CVE-2026-118766 | 6.1 MEDIUM | Botan: Online OCSP redirects enable blind requests to internal HTTP services |
| CVE-2026-118768 | 5.9 MEDIUM | Botan: CLI utility `ocsp_check` accepts unauthenticated responses |
| CVE-2026-118767 | 4.8 MEDIUM | Botan: Python binding bcrypt APIs truncate passwords containing embedded NULs |