8.2
High
CVE-2026-32877 Botan is a C++ cryptography library
Description
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Botan 2.3 | 2.3.0 → < 3.11.0 | 3.11.0 |
Other CVEs of Botan
The 17 CVEs of Botan →
CVE-2026-104267
Botan: scrypt V-buffer heap overflow on 32-bit from constructor-accepted parameters
4.1
Medium
CVE-2026-48057
Botan: directoryName nameConstraint bypass via multi-AVA RDN flattening in matches_dn
2.1
Low
CVE-2026-118769
Botan is a C++ cryptography library
9.2
Critical
CVE-2026-118768
Botan is a C++ cryptography library
5.9
Medium