Out-of-bounds Read in Botan Project
CVE-2026-32877
Botan is a C++ cryptography library. From version 2.3.0 to before version 3.11.0, during SM2 decryption, the code that checked the authentication code value (C3) failed to check that the encoded value was of the expected length prior to comparison. An invalid ciphertext can cause a heap over-read of up to 31 bytes, resulting in a crash or potentially other undefined behavior. This issue has been patched in version 3.11.0.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H.
EPSS exploit prediction
EPSS: 0.005 (41.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 42nd percentile — 41.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.005 · change: +0.002
Affected products
- Botan Project
- Randombit Botan — versions >= 2.3.0, < 3.11.0
Weakness classification (CWE)
References
- github.com/randombit/botan/security/advisories/GHSA-7jj6-4r42-w9h6 (Vendor Advisory)
Frequently asked questions
- What is CVE-2026-32877?
- CVE-2026-32877 is a high-severity vulnerability in Botan Project, classified under Out-of-bounds Read. CVSS score: 8.2/10. Published 2026-03-30.
- How severe is CVE-2026-32877?
- High severity. CVSS v3 base score is 8.2 out of 10.