Cryptography Library Vulnerability in Botan Affects Multiple Versions
CVE-2026-32877

8.2HIGH

Key Information:

Vendor

Randombit

Status
Vendor
CVE Published:
30 March 2026

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

References

CVSS V3.1

Score:
8.2
Severity:
HIGH
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.