跳到正文
CVE-high(cvefeed.io)·· 6 小時前精選AI 評分81

CVE-2026-118769 - Botan:在 FFI 報告區塊大小時的整數溢位可能造成記憶體損毀

CVE-2026-118769 - Botan: Integer overflow when reporting block size in FFI can cause memory corruption

AI 導讀

Botan 是一個 C++ 加密庫,存在於 2.1.0 至 3.13.0 版本的 botan_block_cipher_block_size 函式中,將 size_t 轉為 int 時未做邊界檢查,易導致記憶體破壞。

推薦理由

此漏洞可能導致記憶體破壞,升級 Botan 至 3.13.0 可修補;避免使用 FFI 原始 ECB 模式以減低風險。

正文 · 原文

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.

Impact

Affected Products

The following products are affected by CVE-2026-118769 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Botan_project botan

The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.

Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 CRITICAL [email protected]

Update Botan to version 3.13.0 to fix memory corruption due to unchecked size conversion.

  • Update Botan to version 3.13.0 or later.
  • Avoid using FFI raw ECB mode with variable block ciphers.

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-118769.

URL Resource
https://github.com/randombit/botan/commit/c6089ab7fab616517d56c447c93e13a5c57a0af3
https://github.com/randombit/botan/pull/5805
https://github.com/randombit/botan/security/advisories/GHSA-c68p-822g-jfvr

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-118769 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-118769 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-118769 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-118769 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    十月. 29, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V4.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
    Added CWE CWE-125
    Added CWE CWE-787
    Added CWE CWE-681
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/118xxx/CVE-2026-118769.json">CVE-2026-118769</a>
    Added Reference https://github.com/randombit/botan/commit/c6089ab7fab616517d56c447c93e13a5c57a0af3
    Added Reference https://github.com/randombit/botan/pull/5805
    Added Reference https://github.com/randombit/botan/security/advisories/GHSA-c68p-822g-jfvr

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.

來源: CVE-high (cvefeed.io)
開啟原文