Cryptography Library Vulnerability in Botan Affects Multiple Versions
CVE-2026-32877
8.2HIGH
What is CVE-2026-32877?
Botan, a C++ cryptography library, has a vulnerability within its SM2 decryption process that can lead to unexpected behaviors. Specifically, the authentication code value (C3) validation did not adequately check the length of the encoded value before performing the comparison. An attack with an invalid ciphertext may result in a heap over-read of up to 31 bytes, leading to application crashes and undefined behavior. This vulnerability affects all versions from 2.3.0 up to, but not including, 3.11.0, which has since been patched to prevent such issues.
Affected Version(s)
botan >= 2.3.0, < 3.11.0
